HTML Help: How do I make the width of an image fit the entire container -


i want banner image fit white container instead of go on side right, can't seem ignore margin on left. i've tried know; max-width setting margin @ 0px nothing works.

this code have:

<p style="text-align: center;" dir="ltr">   <img class="aligncenter size-full wp-image-504" title="bannercommunity"         src="image.png"        alt="" width="960" height="140" /> </p> 

any , appreciated, thanks!

you can add width: 100% <img>. note having browser resize images inefficient, should avoid if can , resize image correct size want use instead.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -