1. Missed the live Ask the Expert event?
    Not to worry. Check out the archived thread of the Q&A with Ken Hutcheson, President of U.S. Lawns, and the LawnSite community on the Franchising Forum.

    Dismiss Notice

background repitition

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

  1. TooLPrincessBlaze

    TooLPrincessBlaze LawnSite Member
    Posts: 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
    Posts: 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