|
|||||||
New to SitePoint Forums? Register here for free!
|
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: USA
Posts: 1,408
|
picture displaying partially outside div box in firefox
I have a picture (about 40px X 40px) inside a div box that is partially being displayed outside the div box. It only happens in firefox. In IE, the entire picture is inside the div box.
Here's the html code: HTML Code:
<div class="adbox"> <img src="i/item_picture.gif" class="rightImage" /> <p class="item">item title</p> <p class="description">description</p> </div> HTML Code:
.adbox {
width: 220px;
padding: 2px 4px 2px 6px;
margin: 0 0.5em 10px 0.5em;
border: 1px dotted #B1B1B1;
background-color: #FFFFFF;
}
.adbox .title {
display: block;
font-style: italic;
}
.adbox .description {
font: 80% Verdana, Geneva, Arial, Helvetica, sans-serif;
display: block;
}
.adbox .rightImage {
float: right;
}
Thanks for any help! |
|
|
|
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 03:33.









Threaded Mode