i know whether possible have element percentage width closest x number (i.e. case 200).
the reason because have fluid div set 90% of browser window while have images @ 200px fill screen, because of odd sizes 830px left excess on right hand side.
i believe js achieve this?
you can use min-width
, min-height
, max-width
, max-height
. play around jsfiddle.fiddle
Comments
Post a Comment