background graphics

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Is there a way to "extend: a background graphic so it doesn't display in a
tiled format in square across the web page but rather stretches it out so
that it does not tile?
 
Hi Mark,
No. You can either tile a background image or position it once in the
centre, top right, top left etc of your page. You can't stretch it.

Jon
 
No.
A background image will not shrink nor stretch to fill the required
space. If too small, the image will tile, if too big the excess will
not be displayed.

You can prevent tiling using CSS:
In code view, just before the </head> tag add

<style type="text/css">
body {background: green url('images/background.jpg') center no-repeat;}
</style>

This will display the background image without tiling in the centre of
the page, with a green background for the rest of the page.
 
Back
Top