Reputation: 5960
What would be the best way to resize a content div to match the browser, keeping a white margin around it, whilst also resizing an image contained within it, so that it keeps a good aspect ratio?
this is the effect i am looking to create: http://www.louisvuitton.com/
Upvotes: 0
Views: 572
Reputation:
You would set the margins of the container whether that is the body or another block element container
body {margin:20px;}
Upvotes: 1