I have a template who looks ok in Mozilla and bad in IE because IE read different the positioning.
any advices on how to work around without making 2 styles based on a split if (ie, mozilla) in almost every page ?
Thanks
(if im unclear please let me know)
Relative positioning IE vs Mozilla
-
- Posts: 87
- Joined: Wed Mar 22, 2006 4:54 pm
Here use this code:
It is not my code, the copyright is in there and here is the link from where I got it:
http://support.invisionfree.com/index.p ... pic=245915
Code: Select all
<script>
// Browser Specefic Skins
// No additional copyrights may be added.
// © Chiên
// Provided By http://forums.distantstars.net
B = navigator.userAgent
if(B.indexOf("MSIE 6.0") !=-1) {
****.write("<LINK REL='stylesheet' TYPE='text/css' HREF='URL OF I.E. SKIN'>")
}
if(B.indexOf("Fire Fox") !=-1) {
****.write("<LINK REL='stylesheet' TYPE='text/css' HREF='URL OF FIREFOX SKIN'>")
}
if(B.indexOf("Opera") !=-1) {
****.write("<LINK REL='stylesheet' TYPE='text/css' HREF='URL OF OPERA SKIN'>")
}
</script>
http://support.invisionfree.com/index.p ... pic=245915
-
- Posts: 348
- Joined: Thu Jan 12, 2006 8:24 pm
- Contact:
-
- Posts: 31
- Joined: Sat Apr 15, 2006 8:27 pm