Background image in IE7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kmw
    New Member
    • Mar 2008
    • 7

    Background image in IE7

    Hi,
    Page is www.wapitiarche rsofpa.com

    Issue is with the image at the top of the page which is set in css as a background image in the header class. Source shows
    <div class="header"> </div>

    I have validated both the css and the xhtml (source code validates if submitted as a file but page does not due to aps.net/w3c issue) .

    Image shows up fine in Opera, Firefox,Netscap e and Flock - but only the border shows in IE7.

    Any ideas would be appreciated.
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    Hiya mate, try this header definition instead.

    [HTML].header {
    background:gree n url(../images/misc/WapitiSign.jpg) no-repeat 100% center;
    border: 3px #999966 outset;
    margin:0 0 5px 0;
    height:95px;
    width:99%;}[/HTML]

    Basically i think its cos you missed out a space!!!! its always those things that get me

    Comment

    Working...