Jump to content

Height issue in IE7/FF3


williamZanelli

Recommended Posts

Hi guys,

 

I have a IE7/FF3 issue,

 

I have some text, sourrounded by a border,

 

The structure of this as below

<div id="display_message_item">
<div id="list_left">
<p>by :: 767</p>

<p> Enter your text here. Enter your text here. Enter your text here. </p>
</div>
<div id="list_right">
<img src="images/thumb_down.jpg" />
<img src="images/thumb_up.jpg" />

 

The CSS is as follow

#display_message_item{
border: solid 1px #666666;
min-height: 90px;
margin: 10px 0 10px 0;
padding-bottom: 5px;

#list_left{
float:left;
width: 390px;

}

#list_right{
width: 80px;
float:right;

}

 

This works as I want it in IE7, but in FF3 the box doesn;'t change to accomdate the hieght..

 

Any ideas on how I could tackle this?

 

Thanks in advance

 

Will

Link to comment
Share on other sites

Don't use float.

 

<div id="display_message_item">
<div id="list_right">
<img src="images/thumb_down.jpg" />
<img src="images/thumb_up.jpg" />
</div>
<div id="list_left">
<p>by :: 767</p>
<p> Enter your text here. Enter your text here. Enter your text here. </p>
</div>

 

#display_message_item{
border: solid 1px #666666;
min-height: 90px;
margin: 10px 0 10px 0;
padding-bottom: 5px;
}

#list_left{
width: 390px;
}

#list_right{
width: 80px;
float:right;
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.