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.

 

 

 

 

Frames ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.