»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books
»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects
»Competition
Community
Winners
Prizes
Write For Us
Members
»Other Resources
Links
Dotnet Resources
|
Cascading Stylesheets: 5 Reasons To Use CSS Cascading Stylesheets become more and more important in today's
webdesign.
But before you decide to get started using CSS you should know
why CSS is so important and what its advantages are.
1. The content is separated from the design
Because you are able to create a separate Stylesheet and link it
to all your webdocuments, you have great control over how your
website looks. So if you want to change a certain aspect of your
page, you only need to alter one file: your Stylesheet!
This Of course, generates some great flexibility. This
flexibility is not available when your website is using tables
for layout, inline font tags or inline defined colors.
A single CSS file can contain positioning, layout, font, colors
and style information for an entire web site.
2. You site uses less bandwidth and loads faster
Because stylesheets are so lightweight, your website will load
much faster. The main reason is because you do not need table
layouts anymore for the positioning of elements. Since text
loads really really fast your website will be visible in a
flash.
This means that visitors will be happier when surfing your
website. They only have to download the Stylesheet once, and
it's automatically reused for every page. So the only thing that
needs to be loaded is the actual content.
On average a website will load five to ten times faster if it
makes use of cascading style sheets.
3. Your website will automatically gain better search engine
results
With CSS, you can position any element, anywhere you want. So if
your menu is at the bottom of your HTML document, you can bring
it up using absolute positioning. The reason this is useful is
to make sure the search engine spiders pick up the main content
first.
Another advantage you automatically gain is that your HTML code
is much cleaner. So the search e
|