Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1455 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

What is CSS? - The Benefits

Thread title: What is CSS? - The Benefits
Closed Thread    
    Thread tools Search this thread Display Modes  
07-16-2007, 04:05 PM
#1
John_Dean is offline John_Dean
Status: I'm new around here
Join date: Nov 2006
Location:
Expertise:
Software:
 
Posts: 9
iTrader: 0 / 0%
 

John_Dean is on a distinguished road

  Old  What is CSS? - The Benefits

What is CSS?

CSS is a simple file which controls the visual appearance of a Web page without
compromising its structure. Using CSS we can control our font size, font color,
link color and many other attributes on our web page. This will make our HTML code

much more readable and the page size will be reduced.
Why to use it and how to use it properly
If you don't use CSS on your web pages and you have many tables and content on
them, chances are that your HTML file size will be quite big. Fact is that we live in a busy world, and people are not will to wait more than 5 seconds web page to load.
From the other side some web developers implement the CSS on wrong way. They write

their CSS in HTML code of the page, like this:

<html>
<head>
<title>My Page</title>
<style>
A
{
font-family: Verdana;
font-size:8pt;
color:black;
text-decoration:none
}
</style>
…..

What is wrong with this technique? Well, imagine that you have site with more than 50 pages. One day, you decide that you want to change font color and colors of the links on your site. You will have to edit ALL the pages on your site, and do to that you will need time, because you place your CSS in your web page.Better way is to save your visual attributes in separate,external CSS file, and to link that file with your page like this:

<html>
<head>
<title>My Page</title>
<link href=myStyle.css rel=stylesheet type=text/css>
….

Using this technique, you can change the look of your site within minutes,
regardless of the number of pages, because your visual attributes are saved in ONE external CSS file. Edit that file, and you are done.
Benefits
Which are the benefits of using CSS? List is quite long and I will list here only
the most important.
Your web page will load faster
Web page will become more search engine friendly
You can change you site appearance within minutes
You can write separate CSS file for handheld devices which will be called up instead of the regular CSS file
You can forget about creating printer friendly version of your site using separate CSS file when user chooses to print the web page.

Avoiding standard HTML commands like:

<font color=#0000ff><font

size=2>Product</font></font></font>

will help us to reduce file size, but that is not the only benefit. Using CSS word product in this example will be moved more close on the top of the document. Search engine will pick up more content and less code.
Imagine that you have 3 columns table on your page. When you see the code, you will notice that first come code for your table, and after that it come your content.

Positioning your 3 columns using CSS instead of standard inline elements:

<table width=90% border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=381 height=150 valign=top bgcolor=FFEDD4>
My Product
</td>
<td height=150 valign=top bgcolor=FFEDD4>
…..

When CSS is used, your code might look like this:


<div id=leftcontent>
My Product
</div>

Again your code is much more clear, and your content is moved on the top of your document, making your HTML page search engine friendly, and reducing your file size.
Content is one of the most important factors in Search Engine Optimization, and you will benefit with removing the unnecessary code in your HTML and create search engine friendly web page.

Web Design and Development, SEO Marketing, Graphic Design Company - Online Creations, LLC

07-16-2007, 07:07 PM
#2
Big Zee is offline Big Zee
Status: Request a custom title
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 1,182
iTrader: 0 / 0%
 

Big Zee is on a distinguished road

  Old

Thanks John - very informative.

07-16-2007, 07:12 PM
#3
Awesome is offline Awesome
Awesome's Avatar
Status: Pastafarian
Join date: May 2006
Location: Duct Taped to your Ceiling
Expertise:
Software:
 
Posts: 3,440
iTrader: 26 / 93%
 

Awesome is on a distinguished road

  Old

Zee, promoting spam/spam posts? Bummer.

http://www.google.com/search?q=CSS+i...ient=firefox-a

07-16-2007, 07:30 PM
#4
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Like the other ones, this is plagiarized
http://www.0*****ing.com/articles/9/...ximum-Benefits

07-16-2007, 07:31 PM
#5
daz is offline daz
Status: I love this place
Join date: Jun 2005
Location: UK
Expertise:
Software:
 
Posts: 562
iTrader: 5 / 100%
 

daz is on a distinguished road

Send a message via MSN to daz

  Old

The guide itself is lacking anyway.

07-20-2007, 08:28 AM
#6
nate@infinfx is offline nate@infinfx
Status: I'm new around here
Join date: Jul 2007
Location:
Expertise:
Software:
 
Posts: 7
iTrader: 0 / 0%
 

nate@infinfx is on a distinguished road

  Old

I think the greatest benefit to CSS is that it is much easier to learn than HTML. Styling elements in CSS is much quicker and saves a lot of time as well.

07-20-2007, 11:18 AM
#7
Hero is offline Hero
Hero's Avatar
Status: Very much the flyest.
Join date: Mar 2006
Location: Belgium
Expertise:
Software:
 
Posts: 1,171
iTrader: 1 / 100%
 

Hero is on a distinguished road

  Old

Originally Posted by nate@infinfx View Post
I think the greatest benefit to CSS is that it is much easier to learn than HTML. Styling elements in CSS is much quicker and saves a lot of time as well.
html is way easier the css, and css is worthless without knowing html

07-20-2007, 02:07 PM
#8
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

I reported this ages ago, plagiarism is illegal and no one is taking care of it...

07-20-2007, 02:13 PM
#9
fooblah123 is offline fooblah123
Status: .
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 1,868
iTrader: 4 / 86%
 

fooblah123 is on a distinguished road

  Old

There are stiull the spam threads The mods arent fixing it

Thanks

07-20-2007, 02:14 PM
#10
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

I also reported this topic, and the others that were posted here by the same user. I'd be interested to hear why the topic was left without moderation. Feel free to PM me, moderating staff.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed