Getting Explorer to handle "bottom" tags in css pr

Open discussion about any topic, as long as you abide by the rules of course!
Post Reply
Geebs
Posts: 3849
Joined: Tue Feb 08, 2005 4:56 pm

Getting Explorer to handle "bottom" tags in css pr

Post 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.
Freakaloin
Posts: 10620
Joined: Tue May 07, 2002 7:00 am

Post by Freakaloin »

moron alert???...
a defining attribute of a government is that it has a monopoly on the legitimate exercise of violence...
Grudge
Posts: 8587
Joined: Mon Jan 28, 2002 8:00 am

Post by Grudge »

Depends on what you're trying to do, what are you using 'bottom' for?
User avatar
PhoeniX
Posts: 4067
Joined: Fri Aug 04, 2000 7:00 am

Post 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
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post 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.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

I stopped supporting IE, cause I'm a stubborn nerd.

If it works in Opera and Firefox, that's enuf for me.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post 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
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
Geebs
Posts: 3849
Joined: Tue Feb 08, 2005 4:56 pm

Post 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.
Grudge
Posts: 8587
Joined: Mon Jan 28, 2002 8:00 am

Post 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.
Geebs
Posts: 3849
Joined: Tue Feb 08, 2005 4:56 pm

Post 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
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post 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
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post 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.
glossy
Posts: 2285
Joined: Tue Apr 30, 2002 7:00 am

Post 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.
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

the !important attrib helps too
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post 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.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
Geebs
Posts: 3849
Joined: Tue Feb 08, 2005 4:56 pm

Post 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.
Post Reply