Repeating background images

liunx

Guest
Hi,<br />
I want to know how to insert a background image so that it is only inserted once and does not repeat itself, I tried the following but it does'nt work:<br />
<br />
<body bgcolor="#FFFFFF" background="back.jpg" style="background-repeat=no-repeat;background-attachment=fixed"><br />
<br />
<br />
thanks<!--content-->The proper CSS syntax separates properties and values with a ":". You used an "=". Replace the "=" with ":".<br />
<body bgcolor="#FFFFFF" background="back.jpg" style="background-repeat: no-repeat;background-attachment: fixed"><br />
If that does not work, then use:<br />
<body style="background: url('back.jpg') #FFFFFF; background-repeat: no-repeat; background-attachment: fixed"><!--content-->I thought the correct phrasing was 'background-repeat: no'<br />
<br />
Not correct?<!--content-->http://www.w3.org/TR/CSS1#background-repeat<br />
<br />
Value: repeat | repeat-x | repeat-y | no-repeat<br />
Initial: repeat<!--content-->I tip my hat to you, sir.<!--content-->
 
Back
Top