Cascading Style Sheets (CSS) Website Design

Cascading Style Sheets (or CSS for short) haveuser is not distracted by the more bulky and
slowly but surely become a website designslower to load image files. Furthermore, because
standard over the past few years. It was notall the code involved with CSS page layout is held
that many years ago that people used Frames toin one external CSS document and is cached, it is
position their content across their web pages andfaster than Table layouts that need to be
Tables gradually replaced this. Many low-endinterpreted every time a new page is displayed;
website developers are still very comfortable with4. It is much easier to edit existing pages and to
Tables, as it 'does what it says on the tin'.add new pages, particularly in the area of subtle
However, more and more people are now movingformatting amendments. For example, you can
over to CSS, as virtually all the layout options canchange the font or colour scheme across an
be achieved using the code.entire website in literally minutes;
One major problem with CSS is that not all Web5. CSS delivers enhanced accessibility. In recent
browsers produce the same results and it has notyears the number of people using web browsers
been helped in the past by the various browserson hand-held devices has risen significantly and
employing their own way of interpreting certainCSS plays an important function in delivering
CSS conventions. You can think your CSS designcontent to PDA's etc through additional CSS
looks OK in the current version of your preferreddocuments. This just isn't possible with
browser and can then be crestfallen when youTable-driven layouts;
view your Web pages in another version that has6. CSS is considered to be more Search Engine
destroyed the formatting. Therefore, whenfriendly because they can spider CSS pages
moving over to CSS, it is important that you usequicker. However, it remains to be seen if this has
the capabilities that are consistently supportedany tangible benefits such as an improvement on
across the entire range of popular browsers. It isthe your page ranking.
interesting that the new version 7 of Microsoft'sOn the flipside, there are a few disadvantages to
Internet Explorer has fixed a number of earlierCSS web page design you should consider:
anomalies, but many people are now waking up to1. As compared with Tables, CSS involves a much
the reality that IE7 has in fact caused problemsbigger learning curve;
arising from their earlier workarounds!2. Because of cross browser support issues, the
So why not bother with CSS, if Tables work fortime spent implementing workarounds should not
you? The principal advantages are as follows:be underestimated;
1. Web page code is generally much easier to3. New browser versions can catch website
follow;developers napping if you are not careful. You can
2. The amount of code used to achieve the samefind that earlier workarounds have been
result is much less. The general view is that byovercome and the look of your website has
switching to a CSS layout, the typical page sizechanged overnight.
reduction is between 50 - 60 per cent;Ultimately, your decision on whether or not to
3. Download speeds for CSS pages are generallymove over to see CSS will probably depend on
faster than their Table-driven counterparts. This isyour level of technical capability and the time
because browsers have to read through the tableyou're able to devote to understanding CSS
code twice before they are able to display thelayout alternatives.
contents. They do this firstly to figure out theSummary
structure and then again to understand theThere has been an inexorable shift away from
content. It should also be recognised that aTable-driven website designs to a Cascading Style
Table's contents can only be presented to theSheet (CSS) approach. Ultimately, it is a personal
screen in one go, whereas CSS content will dropdecision whether to take the leap, as there are
in separately, thereby giving a better userno particular technical imperatives to do so right
experience. It is also possible to govern the ordernow. But will this all change in the future?
in which specific screen elements appear, so the