View Single Post
Old 08-07-2004, 08:16   #1 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
Centering a floated div...

I've been trying to get this to work for a while, but with no results.

http://www.mistercut.com/test/ferrara/index.html

http://www.mistercut.com/test/ferrara/ferrara.css


What it does is great: the div only expands when there's enough room for the next float.

But ideally I would like it centered on the page too.

Any suggestions?

I've tried putting it in a container div, but wasn't sure what styles might make it work.
  Reply With Quote