View Full Version : columns wont come out right...
11-27-2005, 06:39 AM
<table border="1" align="center" valign="top" width="700" height="500" rows="1" cols="5">
<td align="left" valign="top" colspan="1">
<td align="left" valign="top" colspan="4">
one on the left is supposed to be only 1/5 size of the table and the one on the right is supposed to be 4/5 of it.
dont do it for me. just write what i did wrong.
11-27-2005, 08:04 AM
A table doesn't have a cols or rows attribute. A table also doesn't have a height attribute, use style="height:500px;" instead. If one td is to be 1/5 of 700 then set its width to 140px, if the other td is to be 4/5 then set its width to 560px;. Personally I wouldn't even use a table for this. Tables aren't meant for web design, they are meant to display data. Your layout can be done without tables, here is an example. http://bonrouge.com/2c-hf-fixed.php
11-27-2005, 08:01 PM
ok thnx aerospace er whatever ur name is, that was much more helpful then ur other post. ill c if i can fix it
11-27-2005, 08:10 PM
Great! thank you. that helps a lot. i fixed it.
I tried to learn that other thing the div or whatever.. but i dont have the patience to understand it. Maybe someday. but for now i like tables. they work just as good and i personally think they are easier to understand.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.