开发者

How can I make images respect their div boundries?

开发者 https://www.devze.com 2023-03-26 13:34 出处:网络
Here\'s the JSFiddle (disregard the differences with picture below): http://jsfiddle.net/stapiagutierrez/y2PhX/

Here's the JSFiddle (disregard the differences with picture below):

http://jsfiddle.net/stapiagutierrez/y2PhX/

I'm supposed to have something like this in the white background, but the images in the center and right column seem to expand outside of their domain.

How can I make images respect their div boundries?

Any suggestions on开发者_如何学JAVA how to cleanly handle this situation? It needs to be nice and centered, needs to end up like the picture, I feel I'm close but can't quite get there. Thank you, learning quite a lot in this tag area in Stackoverflow.


Use pixel widths, not percentage.

0

精彩评论

暂无评论...
验证码 换一张
取 消