CSS How to Make Image Display outside of div

user2541522 picture user2541522 · Aug 27, 2013 · Viewed 21k times · Source

I have an image that i would like to extend beyond the div and display outside of the border that is displayed.

Every time i try and move it, the top of the image just gets cut off. (See the ebook image at the top of the 2nd column...)

Any help is much appreciated. Thanks

Answer

Godwin picture Godwin · Aug 27, 2013

Try adding the CSS rule:

.entry-content {
    overflow: visible;
}

Currently the property is being set to hidden which, as the name suggests, hides all content that extends outside of its bounds. Setting it to visible lets the content be shown.

http://www.w3schools.com/cssref/pr_pos_overflow.asp