Css / Html Expanding Background

ComproxComprox *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
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?

Comments

  • MedHeadMedHead Join Date: 2002-12-19 Member: 11115Members, Constellation
    You don't want the background to repeat horizontally, but you do want it to repeat veritcally?

    <!--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-->
  • ComproxComprox *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
    Thanks <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
  • TychoCelchuuuTychoCelchuuu Anememone Join Date: 2002-03-23 Member: 345Members
    ph33r MedHead's amazing coding skills. Seriously, he's like a robot or something. He does it all by HAND.
  • im_lostim_lost TWG Rule Guru Join Date: 2003-04-26 Member: 15861Members
    I do all of my HTML stuff by hand. I don't like programs that do it all for you, I feel like I don't have enough control.
  • napinapi Join Date: 2003-03-01 Member: 14172Members, Constellation
    edited February 2005
    <a href='http://www.hotdesign.com/seybold/' target='_blank'>http://www.hotdesign.com/seybold/</a> - CSS is the only way for layouts... remember that ¬.¬

    wierd... it keeps repeating the url code? removed hyperlink in the edit
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    <img src='http://www.hotdesign.com/seybold/images/scientist.gif' border='0' alt='user posted image' />

    This is something Fam would draw. ;D
  • esunaesuna Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
    <!--QuoteBegin-DOOManiac+Feb 6 2005, 10:34 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Feb 6 2005, 10:34 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <img src='http://www.hotdesign.com/seybold/images/scientist.gif' border='0' alt='user posted image' />

    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.
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    <!--QuoteBegin-esuna+Feb 6 2005, 12:58 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (esuna @ Feb 6 2005, 12:58 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> And Tycho, most people do their own (X)HTML or CSS by hand. Well, most people that aren't idiots, that is. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Hell, I still edit pages in notepad sometimes.
  • MedHeadMedHead Join Date: 2002-12-19 Member: 11115Members, Constellation
    I am in no way an XHTML master for coding in a text editor.
Sign In or Register to comment.