CSS

Alignment image and txt using css example1

CSS CODE

#block-block-11 .content div.texts,
#block-block-11 .content div.img{
display: inline-block;
vertical-align: top;

}

#block-block-11{
margin-top: 100px;
}

 

HTML CODE:

<div><strong><span style=”color:#000000; font-size:14px”><img alt=”” src=”http://domainname.mx.sg/sites/all/libraries/sample_photo/b2.png” /> </span> </strong></div>

<div><span style=”color:#FFFFFF; font-size:16px”><strong>Unlimited Length<br />
of stay</strong> </span></div>

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...