Page 1 of 1

Getting Explorer to handle "bottom" tags in css pr

Posted: Sat Nov 26, 2005 2:59 pm
by Geebs
How do you do it? I'm getting sick of the whole correct css, correct html, displays correctly in mozilla, fubared in IE thing. Grr.

Posted: Sat Nov 26, 2005 3:00 pm
by Freakaloin
moron alert???...

Posted: Sat Nov 26, 2005 3:14 pm
by Grudge
Depends on what you're trying to do, what are you using 'bottom' for?

Posted: Sat Nov 26, 2005 3:24 pm
by PhoeniX
I'm in the same boat, using rounded corners it won't round properly in IE but works flawlessly in Firefox, and all the css/html is 100% validated.

Fucking IE >:E

Posted: Sat Nov 26, 2005 3:57 pm
by 4days
validated means buggerall for ie :(

what method are you using? most reliable is to have an element for each corner (or at least for 3 of them).

e.g. http://www.cssplay.co.uk/boxes/krazy.html

and what grudge asked.

Posted: Sat Nov 26, 2005 4:01 pm
by Foo
I stopped supporting IE, cause I'm a stubborn nerd.

If it works in Opera and Firefox, that's enuf for me.

Posted: Sat Nov 26, 2005 9:36 pm
by MKJ
how about

Code: Select all

<div style="background: url('images/bottom.gif') bottom no-repeat;">
content here
</div>
or just add a div with an nbsp at the end of your content with that bg img and the bgcolor of the underlying div/td/body

Posted: Sun Nov 27, 2005 1:46 am
by Geebs
the actual page is here:
http://homepage.mac.com/guitarbloke/Cro ... outus.html

(it's still in the mockup stage - website for my stepmom's PR firm)
external style sheet at:
http://homepage.mac.com/guitarbloke/Cro ... /basic.css

I'm using the bottom tag to make the left bar fit the screen whatever the height.

Posted: Sun Nov 27, 2005 11:51 am
by Grudge
Check this out:

http://phrogz.net/CSS/

Great tips and tricks for this kind of stuff, I think there is something to solve your problem there.

Posted: Sun Nov 27, 2005 12:26 pm
by Geebs
It's getting hard to see the layout, 'cos there's more and more cracks appearing on my monitor as I beat my head against it. Thanks for the link, man.

edit: I've come up with a revolting hack involving tables that even works in IE5 for mac, ffs, and IE6 windows still doesn't like it. AAAARGH

Posted: Sun Nov 27, 2005 6:16 pm
by MKJ
after seeing the page, i dont quite understand what is not working for you

and why didnt you try the thing i posted. that always works for me

Posted: Sun Nov 27, 2005 6:58 pm
by 4days
semi-fluid layouts can be a real pain unless you're happy to run in quirksmode, especially with that border around the content area (which means you can't do any of the usual background tricks).

does it *have* to always go to the bottom of the viewport? or would a minimum height for the menu/content areas do? e.g, something roughly like this:

http://www.l0unge.com/q3w/geebs_v1.htm

other reason for posting that is to make a nerd suggestion about the way the html is laid out. this way the visitor gets

title
content
menu
contact info

in that order, so you can have different stylesheets for different platforms, or if the stylesheet's ignored, it'll still be okay as a page.

Posted: Sun Nov 27, 2005 11:24 pm
by glossy
Just remember all your IE CSS hacks (speech-family or whatever) and exploit them to make IE do as it's told. Goddamn i hate IE.

Posted: Sun Nov 27, 2005 11:40 pm
by MKJ
the !important attrib helps too

Posted: Sun Nov 27, 2005 11:47 pm
by Foo
Oh dont forget tables. It's real dark-ages shit, but tables are still WAY simpler AND more robust than CSS when it comes to the macro layout of your page.

Which is fucking stupid, but whatever works right.

Posted: Mon Nov 28, 2005 12:11 pm
by Geebs
OK, I think I'm getting somewhere - fooled IE5 mac, but then had to put another hack in for Safari....

Just wanted to say thanks for the input, guys.