Css And Your Website

In web design tips | on 05.01.03

Smaller size files and CSS: you can reduce the overall code-amount present in your web pages. This is possible by taking out styles from an HTML page and putting it a standalone style sheet or .css file. Pages containing less code make for smaller file sizes that are preferred by all search engines. The SEO community generally considers page sizes up to 100KB as good.

Better control over page structuring: When using CSS, you can structure your pages as per HTML standards with no compromise on the appearance and feel of the a page. CSS caters to well-structured pages allowing designers to create pages that are attractive and have great flair. It is best to use CSS in Website design and write one or more than one .css file to house all the style codes and then apply it to the relevant pages with the HTML <link> tag. Adopting this approach will allow everything related to the look of your web site to be found at a single location and not have it jumbled up with the site’s contents. This will allow you to change your site’s content without affecting its.

CSS allows getting picked up by search engines even when hiding content from browsers: When you use CSS to structure your pages, it is possible for you to hide content from specific browsers in certain situations. For example, you may want certain content to appear only in print or you would like some content such as page navigation only to get displayed on the screen and not in print. Using CSS gives you the advantage of getting content indexed along with the benefit that content brings.

Assuming you are new to CSS, you must understand that many browsers still interpret CSS standards in their own ways. Some of the archaic browsers do not read CSS at all. While structuring your pages using CSS, you must ensure that that they have the maximum cross browser compatibility and that HTML pages appear acceptable even without CSS.

Related posts:

  1. A case for creating valid HTML documents
  2. Web Standards, Browsers, And Designing For The Future
  3. More about creating valid HTML documents

One Response

05.01.03

web browsers which could do no more. Well, now we have browsers that can do much more. Yep, there are problems, but there is a Chinese proverb which says something to the effect of, “Progress consists of trading new problems for old ones.”