Easy :S

liunx

Guest
Hi i have a back gorund image but it creates more than one when i host it as a back gorund is there anything that could stop it so there is only the one back gorund image? <br />
<br />
also i cant rmeber how to align, I know it sounds stupid :P any one help me out there?<!--content-->You mean the background image tiles?<br />
If you're using CSS, add this:<br />
<br />
background-repeat: no-repeat;<!--content-->im doing it in html sorry not css<!--content-->put this in the opening body tag<br />
<body style="background-repeat: no-repeat;etc..."><!--content-->right thanks and how do i align things using <Div>??<br />
<br />
Also how could i center the backgorund image?? (i noraml just use hard colors lol :P)<!--content-->Using Style in the head<br />
<br />
<HTML> <br />
<HEAD> <br />
<TITLE> Fixed background using styles </TITLE> <br />
<STYLE TYPE="text/css"> <br />
BODY { background-repeat:no-repeat;background-attachment:fixed; <br />
background-position:left top;background-image:url(blah.jpg) } <br />
</STYLE> <br />
</HEAD> <br />
<BODY> <br />
etc... <br />
<br />
The background-position can left/center/right for x axis and <br />
top/center/bottom for the y axis. With IE5.5 you can use a numeric value to <br />
specify the x/y co-ordinates in pixels<br />
<br />
:rocker:<!--content-->Originally posted by Scottydog <br />
im doing it in html sorry not css <br />
Originally posted by leoo24<br />
put this in the opening body tag<br />
<body style="background-repeat: no-repeat;etc..."><br />
Originally posted by Scottydog <br />
right thanks and...<br />
<br />
Not to nitpik, but style in a tag is css as well ;)<!--content-->
 
Back
Top