Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
IE 5.2 for Mac problem
I have a search input field in my page template which is nested in a header div that is set to relative and applied the following style to it:
<code>form {
position: absolute;
left: 800px;
top: 50px;
}</code>
In Firefox that looks great, but IE 5.2 for Mac completely ignores the position left (800px) and displays the search input on the left rather than on the right (layout width total = 990px)
I also tried float: right, which also doesn’t work…Anybody know a work aorund?
Thank you!
Dada
Last edited by dada78 (2005-12-21 20:36:21)
Offline
Re: IE 5.2 for Mac problem
IE 5.2 on a mac is a dead browser.. officially now (MS announced this two days ago)
But, if you still need the support…
IE5 Mac is notoriously bad about Absolute positioning. I had similar problems recently, and was trying to maintain support for this aging browser as well…
I ended up using a CSS hack, specific to IE 5 on a mac.
/* BE NICE TO MAC-IE5 */ /*\*//*/ #form {position: absolute; top: 0; left: 800px;} /**/ /* BE NICE TO MAC-IE5 */
Only IE5 Mac will see the above.. everything else will use your original declaration.
I don’t know how much of a purist you are, but if you have to live with IE Mac on your site.. this hack tends to be worth it.
Hope that helps.
TextPattern User – In Training
Offline
Re: IE 5.2 for Mac problem
Thanks so much for the hack Scarecrow!
I cannot express how much I hate IE, but this looks like it will work.
Do you by any chance know how IE5-6 on Windows handles absolute positioning?
Thanks again, you made my headache go away ;-)!
Dada
Offline
Re: IE 5.2 for Mac problem
They do alright for the most part. I haven’t run into too any really odd issues with absolute position. One thing is that it will not vertically absolutely position inside a relative container unless the container has a height specified which is quite annoying.
You can use the mid-pass filter to get around the trouble spots in IE5.x/win (also dead browsers), works like the Band Pass filter for IE/mac already shown here.
Shoving is the answer – pusher robot
Offline
Re: IE 5.2 for Mac problem
Generally IE5 mac and IE on a pc, have no ties whatsoever. They are really different codebases and each have separate bugs and glitches.
The code above, is specific to the mac version of IE only… so IE on a pc will not apply the above rule.
TextPattern User – In Training
Offline
Pages: 1