Announcement

Collapse
No announcement yet.

defining a background image in css

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

    defining a background image in css

    Hi,

    I am having a bit of trouble using a background image for my site. I am defining the image in the css file as such:

    body {
    background: #DDD5C2 url(back.gif) repeat-x;
    text-align: center;
    margin: 0px;
    color:NETQUOTEVAR:FGCOLORCSS;
    padding: 0px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    }

    although it shows in dreamweaver, when ever I publish the site, the image ain't there, even though i have manually ftp'd it into the directory. i have choose colour instead of image from the design options, and even removed the tag from <BODY etc.

    Anybody have similar problems like this ?

    Darren
    Web design Bradford

    #2
    If it isn't showing up in the Preview, try copying the file to the 'PreviewHTML' directory. Also, add the file to the 'Additional Files' list in 'Advanced | Additional Files'.

    Comment


      #3
      yep,

      that worked cheers.

      Darren
      Web design Bradford

      Comment

      Working...
      X