| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| x-raysteve 
 
 
 Joined: 01 Feb 2006
 Posts: 53
 
 
 | 
			
				|  Posted: Sat Feb 04, 2006 5:12 am    Post subject: Tables vs CSS |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| administrator Site Admin
 
 
 Joined: 01 Oct 2004
 Posts: 183
 
 
 | 
			
				|  Posted: Sat Feb 04, 2006 11:24 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Missie 
 
 
 Joined: 06 Feb 2006
 Posts: 25
 
 
 | 
			
				|  Posted: Mon Feb 06, 2006 7:30 pm    Post subject: |   |  
				| 
 |  
				|  	  | 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.
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Stitch 
 
 
 Joined: 07 Feb 2006
 Posts: 43
 
 
 | 
			
				|  Posted: Thu Feb 09, 2006 10:55 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| administrator Site Admin
 
 
 Joined: 01 Oct 2004
 Posts: 183
 
 
 | 
			
				|  Posted: Fri Feb 10, 2006 4:01 pm    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| Stitch 
 
 
 Joined: 07 Feb 2006
 Posts: 43
 
 
 | 
			
				|  Posted: Fri Feb 10, 2006 4:43 pm    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| x-raysteve 
 
 
 Joined: 01 Feb 2006
 Posts: 53
 
 
 | 
			
				|  Posted: Thu Feb 23, 2006 8:41 pm    Post subject: |   |  
				| 
 |  
				| Why is css more spider friendly if everything is in an external file?  Can spiders not read tables? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| ComDriver 
 
 
 Joined: 06 Mar 2006
 Posts: 8
 
 
 | 
			
				|  Posted: Mon Mar 06, 2006 5:38 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| paul 
 
 
 Joined: 11 Oct 2004
 Posts: 128
 
 
 | 
			
				|  Posted: Tue Mar 07, 2006 12:27 pm    Post subject: |   |  
				| 
 |  
				| 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
   
 
 
 Paul
 _________________
 World Countries | Survival Skills
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| bongo 
 
 
 Joined: 07 Mar 2006
 Posts: 11
 
 
 | 
			
				|  Posted: Tue Mar 07, 2006 12:39 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| paul 
 
 
 Joined: 11 Oct 2004
 Posts: 128
 
 
 | 
			
				|  Posted: Tue Mar 07, 2006 3:27 pm    Post subject: |   |  
				| 
 |  
				| 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  in your code. 
 
 
 
 Paul
 _________________
 World Countries | Survival Skills
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Kurtis 
 
 
 Joined: 05 Mar 2006
 Posts: 9
 
 
 | 
			
				|  Posted: Wed Mar 22, 2006 7:29 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  |