Background Image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Background Image

    how do i stop background image from looping in a page. i added it in my stylesheet as
    Code:
    .head {
      background: #000044 url('[url]http://siteurl/images/logo.gif'[/url]);
      padding: 2px 2px 2px 2px;
      margin: 3px 0 0;
      color:#F4A460;
      text-align: center;
      border-width:1px 0;
      border-style:solid;
      border-color:#8E110B;
      }
    and in the page i have
    Code:
    echo "<div class=\"head\">CONTENT</div>";
    i only want the background image to show once in that section

    #2
    he he i got it to work. 4 n1 who wanna know
    Code:
    .head {
      background: #000044 url(&#39;[url]http://siteurl/images/logo.gif&#39;[/url]) no-repeat top center;
      padding: 2px 2px 2px 2px;
      margin: 3px 0 0;
      color:#F4A460;
      text-align: center;
      border-width:1px 0;
      border-style:solid;
      border-color:#8E110B;
      }

    Comment


      #3
      Thanx

      Comment

      Working...
      X