html - scale entire table with images -
i'm making responsive webpage: http://jsfiddle.net/gedxr/174/
i need images in screen seperate, put them in table. problem is, table screws when resizing. there way keep 'screen' neat image, consisting of these different parts?
current table / images in cell css:
table { width: 100%; background-color: #00bf6e; min-height: 100%; } img { width: auto; height: auto; } thanks!
you have min-height on images. commented out in follwing code:
.css-mb .mb-screen img { width: 100%; /* min-height: 100%; <-- remove */ position: center; } if give min-width , min-height images distorted because width-height ratio changes (they both fill 100% of available space). using min-width makes sure ratio stays intact.
Comments
Post a Comment