«« Next » « Previous
«« Next » « Previous

Link Details

DZone depends on you. Login and vote now.
Link 81194 thumbnail

By bloid
via css-tricks.com
Submitted: May 15 2008 / 12:15

My friend Richard recently came to me with a simple CSS question: Is there a way to make a background image resizeable? As in, fill the background of a web page edge-to-edge with an image, no matter the size of the browser window. Also, have it resize larger or smaller as the browser window changes. Also, make sure it retains its ratio (doesn’t stretch weird). Also, doesn’t cause scrollbars, just cuts off vertically if it needs to. Also, comes in on the page as an inline > tag.
  • 1
  • 0
  • 99
  • 18

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)