The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm climbing several learning curves here: (x)html, css, php, vBulletin... I've spent the last several days at the w3schools site. Now that I've read the sticky at the top of this forum, I'll add sitepoint.com to my short list as well.
Today it's HTML that I'm beating my head against. I have written the code below. I'm using apache to serve it and viewing it in Firefox under Linux and IE6 on an old Windows 98 machine. I have tried several ways to get the table to completely fill the height of the browser window, but nowhere have I found the magic place to put a height="100%" or a height: 100%; that works. I want the "header" and "footer" to be of fixed height, and the "main" area to expand to whatever height is necessary to fill out the table. Later I'd like to add an overflow: auto; or scroll; attribute to the "main" cell of the table. Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>test document</title> <style type="text/css"> table { border: 2px solid red; width: 100%; } td { border: 2px solid red; } </style> </head> <body style="margin: 0 0 0 0;"> <table rules="all" cellspacing="0" height="100%"> <th rowspan="3" style="width: 150px; font-family: sans-serif;"> <p>left column</p> <td height="120px"><p>header</p></td> </th> <tr><td height="100%"><p>main</p></td></tr> <tr><td height="80px"><p>footer</p></td></tr> </table> </body> </html> How do I do these things? Or are they impossible? Thanks, Mike D. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|