Serendip is an independent site partnering with faculty at multiple colleges and universities around the world. Happy exploring!

Columns Using CSS

Here's a 300 pixel left column. There are 5 pixel margins, so the width available for use is 290 pixels.

 

 

 

 

Here's a right column that extends to the rightmost part of the web page. There are 5 pixel margins, so the width available for use is 380 pixels for a "page" and the "rest of 100%" for a "story."

 

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.
5 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.