You are here > Skip Navigation LinkseMockups Home > Rapid Prototyping & Mockup to xHTML > Templates, Master Pages & Compliant CSS 2.1 Markup
Friday 30 July 2010
eMockups - Image to Web Prototyping eMockups- Jumpstarting your Web Development
Add eMockups

Add eMockupsA few years back and before the invention of CSS. Websites that needed a curvy and smooth design incorporated needed a bit more head scratching. Boxes we could do. Lots of boxes in all shapes and sizes, but curves...no.

Some bright spark came up with a concept of cutting up an image of a curved line inserting them into a table cell piece at a time and butting up the edges to give the illusion of a curve. This approach worked for the most part but special care had to be taken to manage the table of boxes so that they were the same size as the pictures being inserted into them. If you made a misjudgement then the illusion was lost and the design was ruined.

This was compounded by the browser wars still raging with Netscape having the best support and the fastest browser at the time. The problem was that a website design that looked OK on Netscape looked wrong on Mosiac or the fledgling Internet Explorer.

The late nineties saw the invention of Cascading Style Sheets or CSS. Initially CSS support was thin but was adopted by all the major browsers, but some browsers supported CSS better than others. CSS allowed the web design to separate the styling of the website to a external file, a css file that is a text file that holds all the styling attributes via keyword tags such as <body>, <p> and <ol>, and via bespoke classes that a developer could create.

CSS also had the advantage of defining a style that could be applied to many objects. Indeed the term "cascade" meant the styling element applied to the <body> tag would be applied to all objects on the web page. Individual styles could be applied "off the default" by targetting specific tag elements nested within the design. For instance the CSS rule "body p { font-family: "Franklin Gothic Medium", Tahoma; font-style: normal;}" would target only the paragraph elements "<p>" and set their font family accordingly.

Basically CSS let the designers and developers work together to create visually rich and exciting content, matched with sophisticated website functionality. If you are looking at website design from a vendor insist on CSS support. Your website will be easier to maintain and will run faster.

Submission Wizard
On-Line Management Tools