|
2007-05-24, 11:28 AM | #1 |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
CSS woes
Inspired by another thread and Jayeff's comments I've decided to give a tableless CSS design a shot for a project I'm working on, but I'm running into problems right off the bat.
I've got a 3-column design that looks good for what I need...but only in IE. In FF and Opera the right column expands. If there's a Guru out there who could take a look I'd be very grateful.
__________________
BUY MY PORNSITES! |
2007-05-24, 11:48 AM | #2 |
You can now put whatever you want in this space :)
|
Sent ya a pm...
__________________
Submit Your Freesites: |
2007-05-24, 11:53 AM | #3 |
There's Xanax in my thurible!
|
Quick answer, you're fucked.
What you're seeing is a result of the PHP Code:
PHP Code:
Honest opinion from a guy who's spent way to much time building complicated css only pages, use a simple table for the three columns, than you can float things within the table cells and you won't have any problems. |
2007-05-24, 11:59 AM | #4 |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
__________________
BUY MY PORNSITES! |
2007-05-24, 12:04 PM | #5 | |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
Well I knew that!
Quote:
Seriously, this CSS stuff (once you go beyond simple text formatting) is awfully complicated and confusing for something that's supposed to make life simpler.
__________________
BUY MY PORNSITES! |
|
2007-05-24, 12:06 PM | #6 |
There's Xanax in my thurible!
|
Did that PM fix things? Because if it did I'd love to know what I missed.
|
2007-05-24, 12:14 PM | #7 | |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
Quote:
__________________
BUY MY PORNSITES! |
|
2007-05-24, 12:24 PM | #8 |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
I think I just fixed it! I removed the max-width and it looks good. The only reason it was there was to prevent very long lines (hard to read), but it looks OK on 19" monitor @ 1280 x 1024. So there shouldn't be any downsides, right?
__________________
BUY MY PORNSITES! |
2007-05-24, 12:33 PM | #9 |
There's Xanax in my thurible!
|
This is the problem I was talking about, and you may not care because not everyone will have a screen this wide:
PHP Code:
This all stems from the fact that floated objects fall out of the document flow which means in essence that they are no longer contained by their container (which I think sucks ass). |
2007-05-24, 12:55 PM | #10 |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
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.
__________________
BUY MY PORNSITES! |
2007-05-24, 01:05 PM | #11 | |
You can now put whatever you want in this space :)
|
Of course I don't mind.. It's a default layout straight out of dreamweaver ....
Quote:
__________________
Submit Your Freesites: |
|
2007-05-24, 02:23 PM | #12 | |
There's Xanax in my thurible!
|
Quote:
PHP Code:
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? |
|
2007-05-24, 03:09 PM | #13 |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
Yeah, I don't know how much more I can take.
Here's what I've decided to go with (until someone shows me what a bad idea it is): I've removed the max-width from the content div and set the main container to a fixed 900 px. I've also ditched the floating pics in the content. This (I hope) should make the page reasonably stable for most browser/screen configurations. Thanks for the help!
__________________
BUY MY PORNSITES! |
2007-05-24, 03:20 PM | #14 |
You can now put whatever you want in this space :)
|
Lemmy,
Did you see that last pm?
__________________
Submit Your Freesites: |
2007-05-24, 03:36 PM | #15 |
You can now put whatever you want in this space :)
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
|
__________________
BUY MY PORNSITES! |
|
|