css - Dynamic image resize -
i saw nice homepage on templatemonster , im trying make homepage alike , problem main image. wont scale same way , have no idea should search . have searched dynamic picture cant find anything.
the site image script: http://livedemo00.template-help.com/wt_43701/#!/pagesplash try resize window , see image shrink , parts of image move outside window.
the site im working on is: http://dq.se/formbar/ main image has 1 tag , is
width:100%;
please me find way image has min-height: 500px; , if window gets smaller image cut on sides.
/ axel
well if have min-height:500px;
try overflow:hidden;
hide rest of picture after shrinking 500px
little fiddle : here
Comments
Post a Comment