By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,396 Members | 1,882 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,396 IT Pros & Developers. It's quick & easy.

CSS rendering diffrently on IE7 & Firefox

P: 2
I've looked around and it appears that all the useful hacks for getting IE to display an alternate css style are gone (?)
That would have been useful since my problem is basically that in IE a div is displaying too far right.
The div in question is (via web dev toolbar)
Expand|Select|Wrap|Line Numbers
  1. html > body > div #holdall > div #wrapperInside > div #container > div #bodyLeft > div #gridContainer > div #insideRightWide > div #insideRightforPMbar
#insideRightWide has position:relative and #insideRightforPMbar has position:absolute none of the parent tags have a position stated.
Expand|Select|Wrap|Line Numbers
  1. #insideRightWide {margin-left:129px; border-left:1px solid #d0cfcf; padding-right:10px; padding-left:10px; padding-top:10px; height:inherit; position:relative}
  2. #insideRightforPMbar {position:absolute; margin-left:129px; padding-left:2px;  border-left-width: 1px; border-left-style: solid; border-left-color: #d0cfcf;}
Is this enough info? I don't know where to start...
TIA
Ed
Mar 4 '08 #1
Share this Question
Share on Google+
2 Replies


drhowarddrfine
Expert 5K+
P: 7,435
No. Not enough information. Make sure no comments exist in any of the html. IE7 selector support is buggy. I question whether you need all that to get the div to do what you want. In any case, FF is properly displaying what you wrote.
Mar 4 '08 #2

P: 2
OK, I found a hack that still works for IE7
It is described here if anyone is interested

.context_bar_form_field
{
height: 15px;
#height: 15px;
_height: 21px;
}
The first setting will apply to all browsers,
The second setting will only apply to Microsoft Internet Explorer browsers
The third setting will only apply to IE browsers 6.0 and older
Mar 4 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.