Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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... :P

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...