IE CSS Hack
- Started
- Last post
- 16 Responses
- seed
I'm working on an app with the design done in pure CSS layout. I am told it must work in all versions of IE back to 5.0. (4.0 actually but I am going to talk them out of that)
I am using this hack version:
http://www.tantek.com/CSS/Exampl…I works perfect and exactly the same in Firefox, IE 6 and 5.5.
The CSS validates perfectly. The problem is that after using this hack the CSS gets screwed up in IE 5.0 as if some aspects of the styles are not working. Although the layout is staying intact.
Any ideas?
- seed0
It worked in IE 5 when I was using this hack:
http://www.info.com.ph/%7Eetan/w…but it didn't work as consistantly across all versions.
- seed0
What an Fing pain in the ass BTW. Coding for 3 different versions of the same browser. IE is shit!!!
- Scottizzle0
Here at Pint, we have to make sure our designs work in like 8 different browsers and cross platform as well. THAT is a pain.
Just glad I dont work in the QA department here. ;D
**in case you see this troy, u still da hommie ;D***
- dcdomain0
I know how you feel man... and what sucks is management/clients that insist on stuff working for pre IE 5.5 releases.
Have you tried asking in the forums over at CSSCreator.com?
- seed0
If I could just do IE5.5+ I'd be OK. I fixed one part by arranging the order of the style selectors in the stylesheet. That worked because of the way 2 of those stlyes were nested in the other one and the voice-family hack seemed to disable the styles in the ones that followed it.
I'll check out CSSCreator.com too thanks.
- seed0
Anyone aware of IE 5 being more problematic than 5.5 with CSS and box model hacks?
This is actually the first time I've viewed my CSS work in previous IE versions.
I downloaded these and have all 3 versions running at once now:
http://www.quirksmode.org/browse…
- spiralstarez0
dude - try this...
after every box model hack you use, put a tag that does nothing - in fact just copy and paste this:
html>body .junk {
width:751px;
}what happens sometimes is that you use the box model hack, and then because the browser doesn't understand it - it goes all the way to the next close tag before it reads a new tag - so it misses a complete style until it reaches the next "}"
put in that empty tag that does nothing and it will solve a lot of your probs using the box model
- industry730
have you looked at IE7
no not the next version of Internet Exploder
it is a CSS Hack that you place in your pages to make IE more CSS compliant
read more:
http://dean.edwards.name/IE7/int…
- ********0
i wouldn't recommened that multiple IE running under XP by the by. You'll regret it.
Win2k is ok though.
- YerMa0
this may sound weird but try declairing the selector twice. ie
p.foo,
p.foo{ background: #000000;
}It worked for me recently when I found that selectors were being ignored by ie5 directly after the relative size hack. Might work for you...
;o)
- imakedesign0
yhou can use the underscore hack to deal wth mutiple browsers:
body {
background: green; /* show to Mozilla/Safari/Opera */
_background: red; /* show to IE */
}
- ********0
A bizzare CSS quirk in IE5: don't use background colours for text, and certainly don't use them on a a.link:hover.
It goes bezerk, and took me a while to figure out the error...
- Blofeldt0
I don't know what's worse
A, i didn't know about some of these problems
or
B I find it interesting
- ********0
I worry about C.
C = putting together a new chest of drawers and I found myself referring to it as "installing".
- Blofeldt0
or
D. doing something in real life in momentarily thinking you can 'undo' it.
- ********0
D. doing something in real life in momentarily thinking you can 'undo' it.
Blofeldt
(Feb 2 05, 04:00)That would be too handy.
unless it was a Quark undo in which case you can only do it once.