ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tables vs CSS

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS
View previous topic :: View next topic  
Author Message
x-raysteve



Joined: 01 Feb 2006
Posts: 53

PostPosted: Sat Feb 04, 2006 5:12 am    Post subject: Tables vs CSS Reply with quote

The common feeling is that you should use CSS instead of tables whenever possible. I grew up in an era where there was no CSS and tables were the way to lay things out on a page in html.

My question is, besides the management side of things and the finer aesthetic control, is there anything inherently wrong with using tables in your pages from time-to-time, or should everything be parsed through CSS?
Back to top
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Sat Feb 04, 2006 11:24 am    Post subject: Reply with quote

Using CSS is a better SEO practice and it can help improve your rankings in the search engines.
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
Missie



Joined: 06 Feb 2006
Posts: 25

PostPosted: Mon Feb 06, 2006 7:30 pm    Post subject: Reply with quote

administrator wrote:
Using CSS is a better SEO practice and it can help improve your rankings in the search engines.


Yeah, plus if you site is really popular it will make you look not very cool if you are using so many tables. You should always try and stay away from talbes as much as you can. Smile
Back to top
View user's profile Send private message
Stitch



Joined: 07 Feb 2006
Posts: 43

PostPosted: Thu Feb 09, 2006 10:55 pm    Post subject: Reply with quote

Tables are for tablature data.

CSS is:

Faster
More spider friendly
more flexible
easier to edit if using an external style sheet for all your pages
etc.
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Fri Feb 10, 2006 4:01 pm    Post subject: Reply with quote

Stitch wrote:
Tables are for tablature data.

CSS is:

Faster
More spider friendly
more flexible
easier to edit if using an external style sheet for all your pages
etc.



Very well put!
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
Stitch



Joined: 07 Feb 2006
Posts: 43

PostPosted: Fri Feb 10, 2006 4:43 pm    Post subject: Reply with quote

administrator wrote:
Stitch wrote:
Tables are for tablature data.

CSS is:

Faster
More spider friendly
more flexible
easier to edit if using an external style sheet for all your pages
etc.



Very well put!

Why thankyou.

I'm still working on my CSS as I'm somewhat new to it, but I see what a wonderful language it is and try to get more people to switch to it instead of using tables.
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
x-raysteve



Joined: 01 Feb 2006
Posts: 53

PostPosted: Thu Feb 23, 2006 8:41 pm    Post subject: Reply with quote

Why is css more spider friendly if everything is in an external file? Can spiders not read tables?
Back to top
View user's profile Send private message
ComDriver



Joined: 06 Mar 2006
Posts: 8

PostPosted: Mon Mar 06, 2006 5:38 pm    Post subject: Reply with quote

I'd have to say I prefer CSS. When used properly you can get great results and your code is so much cleaner, especially when using an external file.
Back to top
View user's profile Send private message
paul



Joined: 11 Oct 2004
Posts: 128

PostPosted: Tue Mar 07, 2006 12:27 pm    Post subject: Reply with quote

CSS is the way to go. If you have any data that should be presented in a nicely formated HTML table, just do it, but otherwise just use CSS.

All my new sites are done with CSS, and I'm not going back to tables Smile



Paul
_________________
World Countries | Survival Skills
Back to top
View user's profile Send private message
bongo



Joined: 07 Mar 2006
Posts: 11

PostPosted: Tue Mar 07, 2006 12:39 pm    Post subject: Reply with quote

I think nowadays most of the developing sites will be using CSS. It isn't hard to learn, you can just pick up a book in the bookstore and you will coding in no time. CSS offers more possibilities than tables.
Back to top
View user's profile Send private message
paul



Joined: 11 Oct 2004
Posts: 128

PostPosted: Tue Mar 07, 2006 3:27 pm    Post subject: Reply with quote

Another important thing is that if you use CSS your HTML is much cleaner and the HTML files are smaller in size, because there are no 10's of nested tables Wink in your code.




Paul
_________________
World Countries | Survival Skills
Back to top
View user's profile Send private message
Kurtis



Joined: 05 Mar 2006
Posts: 9

PostPosted: Wed Mar 22, 2006 7:29 pm    Post subject: Reply with quote

That's true Paul.
If your code is clean and simple, consisting mostly of content rather than tags, the search engines have an easier time reading it.

Generally just using simple div tags and styling them externally through CSS will cut down the amount of code in your html file quite dramatically.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial