
Originally Posted by
freshprince
... my problem lies in the gallery pages. which is accessed from the members Area in the navigation menu.
You see on IE 7 and other browsers Opera in particular it show or rather displays well but when i now tried it on IE 6 everything just goes wrong.i really want to know where i am going wrong and if possible how you can help me to put things right. ...
The cause is that IE6 doesn't respect a set height but grows it to fit content (if it is set visible (default)). When a members name is wrapping IE6 grows the paragraph height of 35px. Solution could be to hide the paragraph overflow or add height to fit wrapping names.
But I suggest a flexible height set on the thumbnail div that will be enough for wrapping the names everywhere in all font-sizes. I think a suitable height could be 10em. Then I suggest you loose the paragraph height to allow it to fit content in all browsers, and the border will always enclose the whole name. The images I would set to block display in order to remove textline white-space added below them in IE6-7.
Code:
div.thumbnail
{
width: 126px;
height: 10em;
float: left;
margin: 0 10px 10px 0;
display: inline;
}
div.thumbnail img
{
border: 3px solid #777;
margin: 5px 5px 0 5px;
display: block;
}
div.thumbnail p
{
margin: 10px 10px 5px 10px;
padding: 0 2px 1px 2px;
color:#fff;
border: 1px solid #777;
/* height:35px; */
}
Bookmarks