OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
The "Center the Container" Challenge
This page's ID:
29653
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
OK, so I need some help here. The solution will either be exceptionally complicated or childishly simple. Either way, it's currently eluding me. Here's a link to an extremely simplified version of the template I'm using for an upcoming site: http://wesleytreat.com/test/ The content in question is the collection of blue boxes. These would normally contain thumbnails and blurbs for individual photos. The stock layout that came with the photo-management software I'm employing previously used a table to present the boxes. I switched it to floated divs, so that the number of divs on a row increased fluidly to make better use of one's chosen browser width. The problem, which is only an esthetic one, though one that bothers me greatly, is the asymmetrical way in which the boxes display inside the template. If only I could center div#container and shrink it to the width of its contents, I'd be happy. (I have found a way to do this in IE, but of course, only in IE. See the source.) Any ideas? [url=http://www.wesleytreat.com/][img]http://www.wesleytreat.com/events/asylum/sig_wtlogo_events_01.gif[/img][img]http://www.wesleytreat.com/events/asylum/sig_events_01.php[/img][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »