Announcement

Collapse
No announcement yet.

CSS Backgrounds V9

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

    CSS Backgrounds V9

    Hey Everyone

    I'm pretty new to Actinic and I am making slow progress so forgive my lack of knowledge.

    I am running Business Plus V9 and I have created a custom layout using the Dreamweaver extension. The HTML file and it's associated CSS file are placed in the Actinic Root folder. The image file is also in the root folder. I have referenced a div background as per the following:

    #ssheader {
    padding: 0;
    background-image: url(ss-header-bg.jpg);
    background-repeat: no-repeat;
    height: 130px;
    }

    I have tried various combinations of different URLs and adding the same declaration to the actinic.css file but alas the image is only visible in certain browsers and for some reason it appears to be an intermittent error.

    The site address is http://www.sheersensations.co.uk. The image in question is the background of the top header.

    Any help or ideas would be gratefully received.

    Pete

    #2
    IIRC, I think single quotes around ss-header-bg.jpg should sort it.
    Elysium:Online - Official Accredited SellerDeck Partner
    SellerDeck Design, Build, Hosting & Promotion
    Based in rural Northants

    Comment


      #3
      Yep needs single or double quotes, you can also streamline the code to do the same thing:

      #ssheader {
      padding: 0;
      background: #fff url("ss-header-bg.jpg") no-repeat;
      height: 130px;
      }

      Comment

      Working...
      X