Layout

3

 

With CSS (Cascading Style Sheets), designers at last have a sound, simple method for producing layouts that will be both standards-compliant and accessible to all. If you already know some HTML, then you can forget many of the tags you may have been using, but you will have to learn about two new ones: and <span>, of which more later. Until recently, designers had few options when it came to laying out web pages. They had to use either framesets or tables – using spacers (transparent single-pixel GIF images resized to a specified width and height) to attempt any form of controllable layout. Both methods are unsatisfactory for various reasons, as will be described in this chapter, and have been replaced by CSS.

 

 

 

Get How to Design Websites now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.