Jump to content

Float Problem In Chrome And Ff


datoshway

Recommended Posts

Seems to be working just fine in Safari but in Chrome and Firefox i'm getting the attached results. Below is my code along with css. Looking for some help. Thanks!

 

 

.item { width: 286px;
margin: 0 0 30px 20px;
float: left; height: 250px;
line-height:340px;
text-align:center;
border:1px solid #000; }

.item img {
opacity:0;
vertical-align: middle;
}

 

 

 <div class="item">
<img src="_images/_content/logos/<?php echo $intID; ?>/<?php echo $strFilename; ?>" >
</div>

Link to comment
https://forums.phpfreaks.com/topic/270372-float-problem-in-chrome-and-ff/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.