CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 24th, 2004, 07:44 AM
thall89553 thall89553 is online now
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,431 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 16 h 23 m 49 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
HTML Tables vs. CSS

Hello, I am beginning to venture into the world css and must say I really like it. I am curious about something though. A lot is eluded to insofar as the replacement of tables in html using positioning with css. Are tables bad for some reason? I am very curious as to this issue.
__________________
Today the world, tomorrow the universe...

Reply With Quote
  #2  
Old January 24th, 2004, 08:11 AM
clevatreva clevatreva is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Stratford-upon-Avon, UK
Posts: 66 clevatreva User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hi

Why are tables 'bad'?

Not all browsers render them the same.

You often need tons of code to force the style you want.

Why are positioned div's so good?

Easy to code.
Use CSS (So good for XHTML and XML)
Cross browser friendly (although beware of a bug in IE that sometimes renders borders wrong).

It is only a matter of time before XHTML becomes standard, and soon after then XML (XHTML rules are, in effect, a subset of XML).

Most designers shy away from positioned div's because fot he difficulty of designed a 3 columned layout where all the columns are the same height, because normally they would only be as high as each column's content dictated.

This site (mine) shows how to get round this problem and will make your code for you. Up to 3 columns, header and footer, borders, background colors, all done. Choose the widths and left or centered:

http://207.44.137.103/css_variable_...d_pagemaker.php




Trevor
__________________
"Good artists copy, great artists steal." Pablo Picasso

Reply With Quote
  #3  
Old January 24th, 2004, 08:28 AM
Michael2003 Michael2003 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Dec 2003
Posts: 1,037 Michael2003 User rank is Sergeant (500 - 2000 Reputation Level)Michael2003 User rank is Sergeant (500 - 2000 Reputation Level)Michael2003 User rank is Sergeant (500 - 2000 Reputation Level)Michael2003 User rank is Sergeant (500 - 2000 Reputation Level)Michael2003 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 20 m 3 sec
Reputation Power: 20
Tables are really for tabular data, so they should still really be used for anything that you would put into a table if you are using a word processor or writing something on paper. Divs are a lot nicer, not only because of the reasons mentioned above, but I for one like them as it allows me to put every single bit about the look of a site into one file, so if I want to change the look throughout a site (though nothing ever leaves my computer, so it is a little pointless in a way), there is only one file to change instead of having to go and redo tables.

Reply With Quote
  #4  
Old January 24th, 2004, 08:46 AM
thall89553 thall89553 is online now
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,431 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 16 h 23 m 49 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
Hey guys, thanks so much. Your replies were excellent and just what I need to hear. Thanks.

Reply With Quote
  #5  
Old January 25th, 2004, 12:00 AM
spectre_240sx spectre_240sx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Los Angeles
Posts: 126 spectre_240sx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 26 m 18 sec
Reputation Power: 6
Send a message via AIM to spectre_240sx
CSS layouts also have the advantage of being viewable on a variety of devices (Monitor, printer, pda, etc.) just by changing a stylesheet.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > HTML Tables vs. CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT