Thread: css + html

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    126
    Rep Power
    11

    css + html


    Hey guys. I am having trouble getting a column to go the full length of the page.

    Here is a link to the page

    http://www.tjshafer.com/projects/cas...e/subpage.html

    I have marked in the page where the table is that should have a height of 100%. Also here is the section that needs to be 100%.
    This is the td which has the code in it,
    Code:
    <td id="leftcell" valign="top" height="100%">
    <!--begin table for menu which includes background-->
    	<table border="0" cellspacing="0" id="menucell"><tr><td width="247" valign="top">
    		<!--begin menu table-->
    		<table cellspacing="0" id="menuitems" border="0" width="159">
    		<tr><td>&nbsp;&nbsp;</td><td id="menuheader" align="left" width="159" style="line-height:12px">
    		<br>CONTEMPORARY<img src="images/menu_underline.gif" width="159" height="1" alt="menu cell bg"><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Sofas &amp; Chairs</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot" border="0">&nbsp;Casual Dining &amp; Bar Stools</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Bedroom</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Home Entertainment</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Home Office</a><br><br>
    		WICKER &amp; RATTON<img src="images/menu_underline.gif" width="159" height="1" alt="menu cell bg"><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Sofas &amp; Chairs</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Dining</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Bedroom</a><br><br>
    		OUTDOOR<img src="images/menu_underline.gif" width="159" height="1" alt="menu cell bg"><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Aluminum</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Cast Aluminum</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Wrought Iron</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;All Weather Wicker</a><br>
    		<a href="test.html"><img src="images/ul_dot.gif" width="9" height="9" alt="menu item dot"border="0">&nbsp;Wood</a></td>
    		</tr>
    		</table>
    		<!--end menu table-->
    	</td></tr></table>
    <!--end table which includes background-->
    </td>
    I tried adding height="100%" everywhere i could think. Any help would be greatly appreciated.
  2. #2
  3. No Profile Picture
    contains a pressurised widget
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    NC USA
    Posts
    401
    Rep Power
    11

    Re: css + html


    yuo cannot set a table to be the full height of the browser window. You CAN do width though.

    What you want to do would be more properly done with style sheets, and not with tables.

    so, even though your initial post had nothing to do with the subject line 'css+ html' .. that's what the thread ended up being about anyway.

IMN logo majestic logo threadwatch logo seochat tools logo