On 5 Sep 2002 at 11:28, csajl wrote:

> the tmpl_include function works but only as far as vertical layout blocks are
> concerned (or am i missing something?).

You're missing something.  But it's more of an HTML issue than an H-T issue.
 
> i searched the mailing list archives as well as google and haven't found a
> solution.  any pointers would be greatly appreciated.

You want a table, most likely.  That's the layout I use at the Phoenyx.  In 
fact, if you look at <URL: http://www.phoenyx.net/index.tmpl >, you can see 
the raw template file for the index.html main page (static, regenerated 
nightly).  You'll have to look at the subtemplates, since I actually do a sort of 
reverse template, but the basic structure of the HTML looks something like 
this:

=== Sample pseudocode ===
<TABLE width=100%>
<TR><TD width=(either an explicit pixel width or a percentage, depending on 
what you're putting in the "sidebar") valign="top">

(Your sidebar stuff)

</td></tr><TR><TD valign="top">

(Your main content stuff... the "x", or a TMPL_INCLUDE in your case)

</td></tr>
</table>
=== end pseudocode ===

You can get clever with your table layout and cause the main content to 
appear above the sidebar for Lynx users (two rows, two columns, of which 
the first cell is 1 pixel high, and the second column is a rowspan of two, and 
the sidebar lives in the first column, *second* row), but you have to be careful 
because Netscape and IE don't always agree on how that should be 
displayed.  I think mine still does that, so don't let it confuse you.





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to