HTML Editor Page doesn't display...

User 474702 Photo


Registered User
6 posts

Hi,

I'm running a recently purchased HTML Editor, build 239. Everything looks good on most browsers, but it appears not to work righ on MSIE 6.0 and earlier. It moves the "navigation" div below the "content" div, between it and the "extra" div.

The site is http://garvincountydemocrats.org

I don't know if this link will work still, but here is where I was testing it on browsershots.org.

http://browsershots.org/screenshots/1b2 … c75072320/

I wouldn't worry so much, but my computer at work has this problem and I can't update MSIE or install Firefox.

I thought I fixed it, since I had a couple of photos larger than the 175 px width of "navigation", but that didn't take care of it.

Thanks for the help.

Joe
User 463058 Photo


Ambassador
1,080 posts

This is caused by IE's doubled float-margin bug (http://www.positioniseverything.net/exp … argin.html). If you float an element in the direction of its left or right border, that border's size is doubled. It can be avoided by setting the element's display to inline.

#navigation {
float:right;
width:175px;
display: inline;
}
#content {
float:left;
width:540px;
display: inline;
}
#extra {
float:left;
width:540px;
display: inline;
}
User 474702 Photo


Registered User
6 posts

Cary,

This is great! Thanks for the fix!!

Joe

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.