2.4. Dimensioning and positioning of elements

Without CSS, the support for element layout is limited to images, tables, frames, and some elements’ aligning attributes. This lacks advanced formatting features and event-handling functionalities. You have seen from earlier sections 2.12.3 that the basic idea behind the CSS styles is fairly simple. It allows you to control how your Web page should be rendered with the latest browsers. You have also seen how to control CSS properties such as the size and color of fonts, or the background color or image of a Web page in a more structural way. You can use it to format blocks of information. The CSS position element and its associated properties allow you to define exactly where your element boxes ...

Get Practical Web Technologies 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.