Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 8: Enhancing Web Design with Cascading Style Sheets (CSS)!
Instruction
Creating 2-Column Layouts with Fixed and Fluid Widths Using Floating
CSS floating is commonly used to create two-column layouts on web pages. Here, we explore two approaches: a fixed-width layout, where the page width remains constant, and a fluid-width layout, where the page adjusts based on the browser’s size.
Two-Column Fixed-Width Layout
In a fixed-width layout, the body
, main
, and aside
elements have specific pixel widths, en...