• 0

[CSS] Having 2 background images, one at top, one at bottom possible?


Question

background-position:top;
background-image: url(images/background.jpg);

background-color: #c5a8b0;
background-repeat:no-repeat;

Hey, was wondering if theres a way to have too background images, one postioned at top of div box, one at bottom?

Thanks! :) Tim

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Yeah, you can't have multiple background images at the moment, you have to use multiple <div>'s positioned on on top of each other.

Can't wait until CSS3 is supported more.

Link to comment
Share on other sites

  • 0
Not in a single div, you'll need to wrap the first div in a second div and apply the opposing background to that div instead.

(Y)

Can't wait until CSS3 is supported more.

same here... :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.