CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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 September 3rd, 2012, 02:14 PM
lazyjaws lazyjaws is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 1 lazyjaws User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m 21 sec
Reputation Power: 0
CSS compatibility issues with IE browser (margin not working)

Hi,

I have encountered an issue with the alignment of my website when I preview it in IE browser. IE 7 has no "compatibility mode" (IE 9 has one), and what seems to work in Safari, firefox and chrome doesn't work in IE. I have a live website uploaded so it's easier to see where the problem lies.

Does anyone has any idea how to fix this problem for IE user? I have read some notes online and from MS official website. It's something about older IE version doesn't render these stuff properly if a width wasn't set. But in my case, it's anything from the logo image downwards, looks scrambled. There's no margin at the top of every page. So the logo went halfway through the browser screen and looks "cut off"...

I have tried "display=inline" and "float" tag, but none seems to work. There's also a reset.css file.

/* CONTAINER
------------------------------------------------------*/
#container{
margin:0px auto;
}
#header-container{
width:100%;
}
#header-box{
width:1090px;
margin:0px auto;

#header-box{
margin:50px auto 0px auto;
}
}
#slideshow-container{
width:1090px;
margin:30px auto 48px auto;
}
#headerimage-container{
width:1090px;
margin:48px auto 0px auto;
}
#slide-top, #headerimage-top{
width:1090px;
height:99px;
background-image:url(../images/bg-top-slide2.png);
background-repeat:no-repeat;
position:absolute;
z-index:100;
float:left;
}
#slide-bottom{
width:1090px;
height:121px;
margin-top:414px;
background-image:url(../images/bg-bottom-slide.png);
background-repeat:no-repeat;
position:absolute;
z-index:100;
float:left;
}
#headerimage-bottom{
width:1090px;
height:137px;
margin:-170px 0px -300px 0px;
background-image:url(../images/bg-bottom-slide-inner.png);
background-repeat:no-repeat;
position:absolute;
z-index:100;
float:left;
}
#footer-container{
width:1090px;
margin:0px auto -40px auto;
background-image:url(../images/footer-glow.png);
background-position:top center;
background-repeat:no-repeat;
background-color:#d8d8d8;
border-top:4px solid #cacaca;
}



Last edited by lazyjaws : September 4th, 2012 at 12:14 AM. Reason: provide more information

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Div tag compatibility issues with IE browser

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap