Chapter 11. Controlling Layout with Style Sheets
Want to create complex layouts on your Web pages, beyond what is possible using HTML alone? This chapter shows you how to precisely position text, images, and other elements on your pages using style sheets. Style sheets let you place content at set coordinates within your layout. You can also control the spacing around your page elements, wrap text around images and tables, and even overlap content.
Control Layout 178
Set Width and Height for an Element 180
Use Relative Positioning 182
Use Absolute Positioning 184
Use Fixed Positioning 186
Set Margins 188
Add Padding 189
Wrap Text around Elements 190
Change ...
Get Creating Web Pages Simplified 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.