co.ador Posted November 10, 2009 Share Posted November 10, 2009 Hi guys #right { display:inline; width:auto; position:absolute; margin:9.0em 0 0 98em; font-family:"Times New Roman", Times, serif; font-weight:500; font-size:11px;} The visitors counter at the top right at http://www.nyhungry.com is not displaying inside the width of the body in IE5 IE6 IE8 and safari. It is working in FF and IE7 Need some help.. Display inline is not working for those browser.. <div id="right"> 1 visitor online </div> Quote Link to comment Share on other sites More sharing options...
Dorky Posted November 10, 2009 Share Posted November 10, 2009 margin-left: 0px; margin-right: 0px; Quote Link to comment Share on other sites More sharing options...
co.ador Posted November 10, 2009 Author Share Posted November 10, 2009 Thank you Dorky it did fixed it... Quote Link to comment Share on other sites More sharing options...
co.ador Posted November 10, 2009 Author Share Posted November 10, 2009 There is a couple of things more Now there is a div in IE5 the Wrapper which is to close to the hearder it seems like the margin-top is not enough but then if I put some margin-top it will affect the other browser... #wrapper { min-height: 100%; margin:-4em 0 0em 0; padding: 0 0 0 0; display:block; display:inline; float:left; width:auto; } * html #wrapper { height:100%; } body:before { content:""; height:100%; float:left; width:0; margin-top:-32767px; } #wrapper:after { clear:both; display:block; height:1%; content:" "; } The Wrapper is the big orange gradient Search Form "for a restaurant" at the left of the body. In Internet Explorer 5 seems not to get the top margin down.. <div id="wrapper"> </div> Quote Link to comment Share on other sites More sharing options...
Dorky Posted November 10, 2009 Share Posted November 10, 2009 to make margins cross browser i always start my css with * { margin: 0px; } then give margin to the elements that need it. im not sure how far into this you are so before implementing, consider weather or not you have time to go back and give margin to what needs it. Quote Link to comment Share on other sites More sharing options...
co.ador Posted November 10, 2009 Author Share Posted November 10, 2009 . im not sure how far into this you are so before implementing, consider weather or not you have time to go back and give margin to what needs it. What do you mean how far into this you are so.... thank you dorky.. I have applied it as below: #videowrapper { height:255px; width:200px; margin: 10em 0 0 5em; padding:0; float:left; } * #videowrapper {margin-left:0;} is the above code correctly scripted? Quote Link to comment Share on other sites More sharing options...
haku Posted November 11, 2009 Share Posted November 11, 2009 Almost no one uses IE5 anymore. You can pretty much safely ignore it. Many people these days even ignore IE6 (though I don't). Quote Link to comment Share on other sites More sharing options...
co.ador Posted November 11, 2009 Author Share Posted November 11, 2009 Most of the library where there is a major flow of people, Internet Explorer 6 is still used widely... Quote Link to comment Share on other sites More sharing options...
haku Posted November 11, 2009 Share Posted November 11, 2009 Yep. But not IE5 - it's pretty much gone. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.