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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -