1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need help with repeating image???

Discussion in 'HTML & Website Design' started by LazyMom, Aug 30, 2007.

  1. #1
    Hello,

    Ok, I am using a template for a site and on the left side bar this yellow/red bar image repeats. I would like it to stay on top since it matches the header, but if I can stop it from repeating that would be great.

    The problem is that it makes some of the longer pages look a bit empty on the left.

    here is the site askmac dot com

    Take a look a a couple of the pages and see what I mean. I would appreciate any advice you can give. :)

    Denise
     
    LazyMom, Aug 30, 2007 IP
  2. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use this CSS property :

    repeat:none;

    Put that in the proper place and your problem is solved
     
    NoobieDoobieDo, Aug 30, 2007 IP
    LazyMom likes this.
  3. LazyMom

    LazyMom Banned

    Messages:
    271
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you for your reply. I'm learning as I go, so bear with me. My css style sheet only deals with text, so I assume that the property needs to go on the template itself. Right? Here is what I have to work with :

    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

    <link href="images/style.css" type="text/css" rel="stylesheet">

    </head>



    <body style="background-color: rgb(255, 255, 255);" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">

    <!-- ImageReady Slices (builders1_slice.psd) -->
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="770">

    <tbody>

    <tr>

    <td colspan="2"><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="322" width="770"> <param name="_cx" value="20373"> <param name="_cy" value="8520">
    <param name="FlashVars" value=""> <param name="Movie" value="images/header.swf"> <param name="Src" value="images/header.swf"> <param name="WMode" value="Window"> <param name="Play" value="0"> <param name="Loop" value="-1"><param name="Quality" value="High"> <param name="SAlign" value=""> <param name="Menu" value="0">
    <param name="Base" value="">
    <param name="AllowScriptAccess" value=""> <param name="Scale" value="ShowAll"> <param name="DeviceFont" value="0"> <param name="EmbedMovie" value="0"> <param name="BGColor" value=""> <param name="SWRemote" value=""><param name="MovieData" value=""> <param name="SeamlessTabbing" value="1"> <param name="Profile" value="0"> <param name="ProfileAddress" value=""> <param name="ProfilePort" value="0"> <param name="AllowNetworking" value="all"> <param name="AllowFullScreen" value="false">
    <embed src="images/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="322" width="770"> </object></td>

    </tr>

    <tr>

    <td background="images/index_02.jpg"valign="top" width="284">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">

    <tbody>

    <tr>

    <td width="15">&nbsp;</td>

    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">

    <tbody>

    <tr>

    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">

    <tbody>

    <tr>

    <td width="40%"><input class="gray" name="textfield"></td>


    I've been playing with it but so far I'm not getting anywhere? So maddening! I'll keep playing, if I figure it out, I'll let you know.

    Denise
     
    LazyMom, Aug 31, 2007 IP
  4. LazyMom

    LazyMom Banned

    Messages:
    271
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I got it! Thank you for your help. I did a little googling and found a clue.

    style="background-repeat: no-repeat;" > Whoohoooo!

    :) :) :)

    I'm a happy girl now. I love DP. :)
     
    LazyMom, Aug 31, 2007 IP