Wickham Posted March 6, 2009 Report Posted March 6, 2009 Edit and edit .rightContentHeader{ text-align: center; margin: 0 auto; /*auto;*/....................... IE 7 was adding a margin to the bottom, 0 auto means that top and bottom wil be 0 and sides auto. You are using IE8 which has not been released for general public use yet, so not many users will be using it, but it is more similar to Firefox than IE7 although there are still plenty of bugs. HR is surprisingly difficult to get right when only a few px high as browsers display it differently, some give it a border, some don't, some use background-color, others use color. Experts recommend not using hr but to use a div with a class instead with a background-color: #xxxxxx; height: ?px; line-height: ?px; font-size: ?px; border: 0; or a background-image instead of the color which will be displayed the same way in different browsers. See http://w ww.wickham43.net/generaladvice.php#horizontalrule for some comments and a div alternative. Quote
williamrouse Posted March 6, 2009 Author Report Posted March 6, 2009 Thanks Wickham! I was just heading off to sleep, but I will study your notes and implement later. I am aware that I am using a Release Canditate for IE, but I am much too impatient to work with 7 and was hoping that IE 8 was further along that it actually is. Ever the dreamer. WBR Quote
jlhaslip Posted March 7, 2009 Report Posted March 7, 2009 Isn't there a setting in IE8 to have the Browser work like an IE7 release? Don't know for sure, I am on Linux and it doesn't play well with IE... Quote
williamrouse Posted March 7, 2009 Author Report Posted March 7, 2009 I don?t know if there is a setting, but under certain conditions, if the browser thinks the HTML is old, it throws it?s self in to ?Compatibility Mode.? Quote
Wickham Posted March 7, 2009 Report Posted March 7, 2009 The code is which must be put just after the tag, lower down the head section may not work. However, I understand that this may be just a temporary code for IE8 beta 2 and RC1 and may be withdrawn in the final IE8 version, so it's best to try to get IE8 RC1 to work properly without it. Quote
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.
Note: Your post will require moderator approval before it will be visible.