Thread: Image clipped
View Single Post
Old 10-25-2013, 09:46 AM   #9
Peter21
Enthusiast
Peter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 29
Karma: 12580
Join Date: Aug 2013
Location: UK
Device: iPad 4
Quote:
Originally Posted by RbnJrg View Post
Try using the css properties "background-size: content" or "background-size: cover".

For example:

Code:
<div><img style="background-size: content" alt="cover_1" src="../Images/cover_1.jpg" /></div>
or

Code:
<div><img style="background-size: cover" alt="cover_1" src="../Images/cover_1.jpg" /></div>
First try the first alternative (style="background-size: content").

Regards
Rubén
thanks Ruben…that method also worked…Peter
Peter21 is offline   Reply With Quote