- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Looking through the posted IE7 Float related bugs on the internet, I haven’t found one that applies to the issue I am seeing with floats and IE7.
I have a few places where I am floating 2 DIVS, and in one case, the left most, and the other case, the last DIV(furthest right) gets pushed 1 px down in IE 7. It is working fine in FireFox 3. It doesn’t matter what I change to the margin, padding, div height..ect.
Ultimately it looses the bottom border of the link. Below is the code of the parent divs and the CSS of the "a link"
Below is the code and website for viewing.
CSS
#rightside {
width: 150px;
position: relative;
float: right;
text-align:center;
}
#leftside {
width:250px;
position:relative;
float:left;
text-align: center;
padding:0px 0px 0px 20px;
}
Inside the div "rightside" is an nested div that has link <a href> with the following CSS:
No one knows why?
Wow, no one has come across this?
The nearest I’ve seen is when whitespace between <a> and </a> tags causes issues like that. For instance:
This can result in a pixel line between elements before and after it:
whereas, this takes care of it:
I don’t expect that will help directly with your problem but maybe it will trigger something :)