1. Can’t make it to the GIE+EXPO 2017?
    LawnSite brings the trade show floor to your fingertips with our new GIE+EXPO 2017 Sneak Peek video series debuting now in the Lawn Mowing forum.

    Dismiss Notice

background repitition

Discussion in 'Digital Marketing' started by TooLPrincessBlaze, May 30, 2002.

  1. TooLPrincessBlaze

    TooLPrincessBlaze LawnSite Member
    Messages: 11

    Okay, this is probally a stupid question, (one that nobody I've talked to knows the answer too.) How do you not repeat a background? Is it like < body background="...gif" /repeat > or something?
     
  2. DaveK

    DaveK LawnSite Member
    Messages: 84

    Well, you could put the image as a background in a table cell.

    But this will probably work better...

    Code:
    Put this in the HEAD of your page.
    
    &LT;style type="text/css"&GT;
    #divBackground{
    position:absolute; top:1px; left:1px; 
    visibility:visible;
    z-index:1;
    }
    
    &LT;style type="text/css"&GT;
    #divMain{
    position:absolute; top:1px; left:1px; 
    visibility:visible;
    z-index:2;
    }
    
    &LT;/style&GT;
    
    Then in the BODY of your page,
    
    &LT;div id="divBackground"&GT;
    put your background image here
    &LT;/div"&GT;
    
    &LT;div id="divMain"&GT;
    put the rest
    of your page
    here
    &LT;/div"&GT;
    
    
    
     

Share This Page