Thread: CSS woes
View Single Post
Old 2007-05-24, 02:23 PM   #12
Preacher
There's Xanax in my thurible!
 
Preacher's Avatar
 
Join Date: Apr 2005
Location: Wherever they screw on my head
Posts: 2,441
Send a message via ICQ to Preacher
Quote:
Originally Posted by Lemmy View Post
You fix one thing and another pops up. What's your screen res? It looks like you're using a wide-screen plasma TV!

If it's the floating objects that are causing the breakup, the solution may at least be something I can understand.
You know what you may be able to do, though I haven't tried using both at once yet. You can set a minimum and maximum width on your outside container using this type of format (which works on all modern browsers)
PHP Code:
div {max-width675pxwidth:expression(document.body.clientWidth 675"675px""auto" ); 
The min width would prevent your center column from breaking itself if someone narrows their browser window real small, and the max width would prevent your floats from breaking by not allowing the entire container to get to big.

Yeah, I know that res was a rediculous example, but if you were to have a post/entry in that middle section with just a few words or a picture any larger than it is now, it will start breaking sooner than that width I believe.

Ain't css fun?
__________________
NSCash * This Depraved World
Preacher is offline   Reply With Quote