Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Background Image not Loading in Safari

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #156416
    Jeremy Englert
    Participant

    Very weird issue. The nav-bar background image is loading fine in all browsers except for Safari.

    http://lapalomafunrun.com/

    Here is the code I’m using:

    #navbar {
    width: 100%;
    height: 53px;
    margin-top: -10px;
    position:relative;
    z-index:1;
    background: url("http://lapalomafunrun.com/wp-content/themes/funrun/images/navbar.png") no-repeat scroll center top / 100% 63px transparent !important;
    background: url("http://lapalomafunrun.com/wp-content/themes/funrun/images/navbar.png") no-repeat scroll center top transparent\9 !important;
    }
    
    #156417
    Senff
    Participant

    It’s probably the use of slashes/backslashes in the background property that Safari has trouble with.

    Any particular reason for that, or what you declare the background twice?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.