Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-27-2005, 06:39 AM   PM User | #1
danecookrulezz
New Coder

 
Join Date: Oct 2005
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
danecookrulezz is an unknown quantity at this point
Question columns wont come out right...

<table border="1" align="center" valign="top" width="700" height="500" rows="1" cols="5">
<td align="left" valign="top" colspan="1">
Menu
</td>
<td align="left" valign="top" colspan="4">
Main text
</td>
</table>

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.
__________________
Because no one cares.
danecookrulezz is offline   Reply With Quote
Old 11-27-2005, 08:04 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
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
_Aerospace_Eng_ is offline   Reply With Quote
Old 11-27-2005, 08:01 PM   PM User | #3
danecookrulezz
New Coder

 
Join Date: Oct 2005
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
danecookrulezz is an unknown quantity at this point
Thumbs down thnx

ok thnx aerospace er whatever ur name is, that was much more helpful then ur other post. ill c if i can fix it
__________________
Because no one cares.
danecookrulezz is offline   Reply With Quote
Old 11-27-2005, 08:10 PM   PM User | #4
danecookrulezz
New Coder

 
Join Date: Oct 2005
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
danecookrulezz is an unknown quantity at this point
Exclamation great

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.
__________________
Because no one cares.
danecookrulezz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:04 AM.


Advertisement
Log in to turn off these ads.