Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Floating / Aligning Image and Div Help Reply To: [Solved] Floating / Aligning Image and Div Help

#195595
Paulie_D
Member

Don’t use floats..use display:inline-block?

http://codepen.io/Paulie-D/pen/yypjzK

img.simple_rss_widget_img {
    border:none;
    margin:2px 5px 2px 2px;
    max-width: 50px;
    max-height: 50px;
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}