Background Images

liunx

Guest
Hi all,<br />
<br />
I'm sure there must be a way to have a background image only showup once, rather than keep repeating. I've setup a page where I only want the background image to appear once under the text, but as it is currently set, it just repeats over and over again. Is there some code I can slip in to fix this problem? Please, take a look:<br />
<br />
<!-- m --><a class="postlink" href="http://www.advorak.com/Horizons/VisitingWriters.html">http://www.advorak.com/Horizons/VisitingWriters.html</a><!-- m --><br />
<br />
Thanks, and Best,<br />
<br />
Tony<!--content-->I would do this:<br />
<br />
<br />
<style type="text/css"><!--<br />
body {background-image: url(<!-- m --><a class="postlink" href="http://www.advorak.com/Horizons/NHbackground.jpg">http://www.advorak.com/Horizons/NHbackground.jpg</a><!-- m -->); <br />
background-attachment: fixed; <br />
background-position: center center;<br />
background-repeat: no-repeat}<br />
//--></style><br />
<br />
<br />
Place that under your "TITLE" tag. I copied the url from your background, but if you want some other background, only change the url between the ()<br />
<br />
Best regards,<br />
St闁抋no<!--content-->Or you could enter it shorthand<br />
<br />
<style type="text/css"><br />
<!--<br />
body<br />
{background:<br />
url(Horizons/NHbackground.jpg)<br />
fixed center no-repeat}<br />
//--></style><!--content-->
 
Back
Top