CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 15th, 2004, 10:50 PM
Herbert_Noyl Herbert_Noyl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 9 Herbert_Noyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Mac IE 5.2 positioning glitch

I'm just taking the plunge from tables to CSS. So far, so good (I think.) Anyway, the site I'm working on looks fine in IE/Mozilla/Opera/Safari, but in IE 5.2 for the Mac, the div containing the text shifts off-center to the right. Any help on correcting this or improving the page is appreciated. I've included a link to the page & the stylesheet is included below.


Website Link

#about {
position: absolute;
left: 181px;
top: 110px;
width: 181px;
height: 141px;
}

#aboutcont {
background-color: #FFFFFF;
position: relative;
height: 600px;
width: 724px;
border: 1px solid #000000;
margin: 0px auto;
top: 30px;
padding: 0px;
overflow: visible;
}

body {
background-color: #999999;
background-image: url(images/bg.jpg);
text-align: center;
}

#contact {
position: absolute;
left: 543px;
top: 110px;
width: 181px;
height: 141px;
}

#contactcont {
background-color: #FFFFFF;
position: relative;
height: 580px;
width: 724px;
border: 1px solid #000000;
margin: 0px auto;
top: 30px;
padding: 0px;
overflow: visible;
}

#contacttext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
top: 265px;
position: absolute;
background-color: #E5E2E2;
border: double;
height: 265px;
left: 3%;
right: 3%;
padding: 3px;
}

#client {
position: absolute;
left: 362px;
top: 110px;
width: 181px;
height: 141px;
}

#disclaimer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
text-align: left;
top: 290px;
position: absolute;
padding: 3px;
left: 3%;
right: 3%;
border: 1px dotted;
}

#ftr {
position: absolute;
top: 518px;
left: 45px;
}

#ftrabout {
position: absolute;
top: 578px;
left: 45px;
}

#ftrcontact {
position: absolute;
top: 558px;
left: 45px;
}

#ftrindex {
position: absolute;
top: 365px;
left: 45px;
}

#main {
background-color: #FFFFFF;
position: relative;
height: 540px;
width: 724px;
border: 1px solid #000000;
margin: 0px auto;
top: 30px;
padding: 0px;
overflow: visible;
}

h1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
font-variant: small-caps;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #000000;
}

h2 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
font-variant: small-caps;
color: #000000;
text-align: right;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #000000;
}

#hdr {
position: absolute;
left: 25px;
top: 25px;
width: 282px;
height: 74px;
}

#index {
background-color: #FFFFFF;
position: relative;
height: 400px;
width: 724px;
border: 1px solid #000000;
margin: 0px auto;
top: 30px;
padding: 0px;
overflow: visible;
}

input {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #000000;
}

input.button {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #000000;
border: 1px solid #000000;
background-color: #FFCC99;


}

#noel {
float: right;
}

#noelp {
text-align: right;
}

#practice {
position: absolute;
left: 0px;
top: 110px;
width: 181px;
height: 141px;
}

#robert {
float: left;
}

table {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}

#text {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
top: 265px;
position: absolute;
background-color: #E5E2E2;
border: double;
height: 225px;
padding: 3px;
left: 3%;
right: 3%;
}

#textabout {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
top: 265px;
position: absolute;
background-color: #E5E2E2;
border: double;
height: 285px;
left: 3%;
right: 3%;
padding: 3px;
}

textarea {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #000000;
}

ul {
list-style-type: circle;
line-height: 18px;
text-align: center;
}

Reply With Quote
  #2  
Old July 16th, 2004, 01:29 AM
1beb's Avatar
1beb 1beb is offline
This tagline is not long enoug
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: Toronto, ON Canada! I AM CANADIAN
Posts: 861 1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 32 m 12 sec
Reputation Power: 10
Send a message via ICQ to 1beb Send a message via AIM to 1beb Send a message via MSN to 1beb Send a message via Yahoo to 1beb
It would be a suggestion not to bother with it at all. Honestly, designing a law firms website to be compatible with an antiquated browser, that is known to have one of the worst page rendering engines in the browser world.

and I quote: http://lists.evolt.org/archive/Week...825/147529.html

Quote:
<tip type="IE 5.2 Mac OS X">
Did you know IE 5.2 Mac OS X is a Bug Ridden Crash Prone Piece of Junk?
Please spread the word and help Mac fans get rid of this sorry excuse for a
browser.
Safari! Think Safari!
</tip>


Here are some known issues... that have been documented at least semi-formally

http://www.l-c-n.com/IE5tests/sitemap/

If you need an explanation of why it's so shaboinked go here:

http://www.hut.fi/u/hsivonen/soup-dom.html

If it works in Safari, let it be... oh let it be.

Reply With Quote
  #3  
Old July 16th, 2004, 05:26 PM
Herbert_Noyl Herbert_Noyl is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 9 Herbert_Noyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the reply...I agree...

I noticed some bugs in IE 5.2 for the Mac on another site I've made. The bugs are completely baffling.


The content is still legible, which is the most important thing. I'll just forget it. Thanks!

Reply With Quote
  #4  
Old July 18th, 2004, 08:58 PM
WebVandals WebVandals is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Osaka, Japan
Posts: 17 WebVandals User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 2 sec
Reputation Power: 0
Keep in mind though that depending on who your end-users are, there might be a lot of Mac users who haven't made the jump to OS X yet. And they're probably all using Mac IE. What I do is use PHP to detect Mac IE and load up an *additional* style sheet for those users. In other words, everybody gets the same style sheet, but Mac IE users get a 2nd one which re-defines some of the classes. It's not sexy, but it works well -- makes it possible to have perfect layout in other browsers *and* Mac IE at the same time

PHP Code:
// For non W3C CSS compliant Mac IE, load a second style sheet which redefines some styles
if (strpos($HTTP_USER_AGENT'MSIE') && strpos($HTTP_USER_AGENT'Mac_PowerPC'))
    
$macIE_css '<style type="text/css" media="all">@import "macIE.css";</style>';
else
    
$macIE_css ''


Then in your header do this:

PHP Code:
<style type="text/css" media="all">@import "yourMainCSS.css";</style><?=$macIE_css?> 

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Mac IE 5.2 positioning glitch


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT