Forums

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

Home Forums CSS 2 backgrounds css

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32981
    intodesign
    Participant

    Howdy,

    I’m trying to use this syntax which it’s works in FF :


    background:url(images/bg.jpg) no-repeat top, url(images/bg2.jpg) repeat;

    But doesn’t seem to work in IE,
    Any suggestions?

    #74264
    intodesign
    Participant

    Didn’t understand exactly how it works…

    #74032
    Chris Coyier
    Keymaster
    #81926
    intodesign
    Participant

    It doesn’t seem simple as i’m asking…
    I just need a simple code to load 2 backgrounds like this one:

    background:url(images/bg.jpg) no-repeat top, url(images/bg2.jpg) repeat; 

    Just need to figure out how can i make this work on IE7 or earlier versions..

    Please Help…

    #81970
    TT_Mark
    Member

    @intodesign That’s because it isn’t simple. Internet Explorer earlier than version 9 does not support multiple backgrounds purely using CSS. You have to either stick with one background, use Chris’ pseudo elements suggestion or find a JavaScript solution

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