Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

CSS question: where to ask?


I'm starting down the road to use CSS to replace the use of tables to layout my Web page (

I trying to figure out how to ensure the navbar div (the blue area on the left) is as long as the body of the page. This is easy with tables, but how do I do it with CSS? Something clever with padding-bottom?

Can people direct me to beginner CSS forums, and good CSS reference sites?


David Watts
Tuesday, September 16, 2003

The following link provides some good resources:

David Mozer
Wednesday, September 17, 2003

The newsgroup comp.infosystems.www.authoring.stylesheets is pretty good.

John Topley (
Wednesday, September 17, 2003

For my site, I used one of the layouts provided here:

Janek Schwarz
Wednesday, September 17, 2003

i did something similar. following is a sketch:
using <div id="leftpanel"> and <div id="main">:

body{background-color: blue;}
#leftpanel {float: left;}
#main {margin-left:0px; border-width: 0px 0px 0px 1px; border-color: black; border-style: solid; background-color: white;}

this works as long as you've got more content in #main than in #leftpanel. if the page is lacking content it looks messed up.

Wednesday, September 17, 2003

Joel Goldstick
Wednesday, September 17, 2003

I bought this book: HTML Utopia: Designing Without Tables Using CSS. It is filled with how to information...

Frank van der Eijden
Monday, September 22, 2003

Thanks to everyone for their ideas. Much appreciated. From the links you've provided me, I'm well on the way. I've also just ordered the HTML Utopia book that Frank mentioned. From the sample chapters, it looks like it might be a good tutorial and reference.

Thanks again.

David Watts
Monday, September 22, 2003

*  Recent Topics

*  Fog Creek Home