Css / Html Expanding Background
Comprox
*chortle*Canada Join Date: 2002-01-23 Member: 7Members, Super Administrators, Forum Admins, NS1 Playtester, NS2 Developer, Constellation, NS2 Playtester, Reinforced - Shadow, WC 2013 - Silver, Subnautica Developer, Subnautica Playtester, Pistachionauts
in Off-Topic
I bet it's something simple, but man it's been so long. My friend has a background for his website that has an image down the left, and white to the right. Problem is the image is a specific size and repeats on my background, like this:
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
How do I make it not repeat the background? Is there something like no-repeat, or some way to do it in CSS?
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
<image><whiiiiiiiiiiiiite><image><whiiite>
How do I make it not repeat the background? Is there something like no-repeat, or some way to do it in CSS?
Comments
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
body {
background: url(images/yourimage.jpg) repeat-y top left;
}
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
wierd... it keeps repeating the url code? removed hyperlink in the edit
This is something Fam would draw. ;D
This is something Fam would draw. ;D <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
That's something Fam would be aroused by.
And Tycho, most people do their own (X)HTML or CSS by hand. Well, most people that aren't idiots, that is.
Hell, I still edit pages in notepad sometimes.