SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-07-2006, 05:57 AM
JONES's Avatar
JONES JONES is offline
SEO
 
Join Date: Jan 2006
Posts: 268 JONES will become famous soon enough
Is CSS heavy?

Hi

I was planning to rebuild one of my site in CSS, but somebody told me that CSS sites take more time to open. Is this true?

Regards.
Reply With Quote
  #2  
Old 07-07-2006, 07:04 AM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,118 Paz has a spectacular aura aboutPaz has a spectacular aura about
Hi,

Absolutely not, in fact quite the opposite! Using CSS divs rather than tables can really help with a sites download speed. The only problem with CSS is that it's quite a steep learning curve.

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #3  
Old 07-07-2006, 02:00 PM
ixpleo's Avatar
ixpleo ixpleo is offline
SEO Junior
 
Join Date: Jun 2006
Posts: 22 ixpleo is on a distinguished road
CSS is MUCH lighter and easier to use. It also separates design from content, so you can change the look of the site on ALL of your pages by changing the CSS once. See csszengarden.com for examples -- each template is the exact same page, only change is the css file.

Here's an example using a table (not for layout, mind you). Imagine you have this table listed on your site multiple times.
Code:
<table width="600" cellpadding="0" cellspacing="0" border="1">
	<tr>
		<td width="300" BGCOLOR="#F7F7F7" align="right"><font face="verdana" size="2">Content</font></td>
		<td width="300" BGCOLOR="#F7F7F7" align="right"><font face="verdana" size="2">Content 2</font></td>
	</tr>
</table>
Not too bad, but it's tedious to have to set the width, height, background color, text alignment, and font settings every single time, on ever single cell. With CSS, you can make your table look like this:
Code:
<table class="content">
	<tr>
		<td>Content</td>
		<td>Content 2</td>
	</tr>
</table>
and have CSS in an external file that looks like this:
Code:
body, table, td {
	font: 11px verdana;
}

.content {
	width: 600px;
	border: 1px solid #000;
}

.content td {
	width: 300px;
	background: #F7F7F7;
	text-align: right;
}
for the exact same results, except the CSS Gives you MUCH better readability and smaller filesize. It may not seem like you saved much as far as code typed, but if that table were repeated on your site multiple times, you would have just saved yourself a huge amount of code. Or let's say you want to change the font from verdana to tahoma. Rather than changing every instance hundreds of time on each page, you just change it once in the stylesheet and voila! Your whole site is now in tahoma.

And I guess being a SEO forum, I should also mention the SEO benefits. Imagine you're a spider trying to access content. Much easier in the CSS example than the non-CSS example as there is less code to sift through to get to the meat of the site . . . content!
Reply With Quote
  #4  
Old 07-08-2006, 06:35 PM
BSolveIT's Avatar
BSolveIT BSolveIT is offline
SEO
 
Join Date: May 2005
Location: England, UK
Posts: 621 BSolveIT has a spectacular aura aboutBSolveIT has a spectacular aura about
Send a message via MSN to BSolveIT
Whilst I have to assume that search engines use something similar to regular espressions, a CSS site is by far and a way the best way to code a build a site from so many perspectives.

Ixpleo has a great example above. Even if you forget spiders (which would be a huge mistake obviously), your code becomes so much easier to maintain and navigate. It's almost like n-tier development for the 1st stage of DNA architecture alone. ie. separateing the look and feel from the code that generates every page.

That said, you may have a different look and feel for each page, but you should at least have the same size fonts, colours, and general layout - otherwise you'll have a confusing website.

Normally, the discussion about CSS comes down to using either tales or div's (with CSS), but even if you don't go that far (which I must admit is my preferrence - div's over tables) CSS offers you the ability to give easily uniform pages no matter how you choose to buid them in terms of the html. Either way, the page load time is reduced with CSS.

Good post and example explanation from ixpleo!

Reply With Quote
  #5  
Old 06-03-2007, 11:37 PM
Ared Ared is offline
SEO
 
Join Date: Mar 2007
Location: at the house
Posts: 147 Ared will become famous soon enough
CSS is best for building a site in pure <div> which most said and i actually proven that it is much better than table. your site source code is clean and faster to load than using table.
__________________
Reply With Quote
  #6  
Old 06-05-2007, 05:32 AM
Mit's Avatar
Mit Mit is offline
SEO
 
Join Date: Apr 2005
Location: New Delhi, India
Posts: 1,065 Mit will become famous soon enoughMit will become famous soon enough
It is not heavy. Actually it makes your code lighter.

It helps making your code easier to handle... Always use CSS.
__________________
SEO Services India

Gifts to India
Reply With Quote
  #7  
Old 06-05-2007, 07:46 AM
kutsarita's Avatar
kutsarita kutsarita is offline
SEO
 
Join Date: Feb 2007
Posts: 507 kutsarita will become famous soon enoughkutsarita will become famous soon enough
css.. shorten the codes especially when you use external css.. so its not true...
__________________
Cat Door | Barking Dogs
Reply With Quote
Reply


Thread Tools
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
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 03:45 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.