Archived

This topic is now archived and is closed to further replies.

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

Recommended Posts

timsweb    1

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

Share this post


Link to post
Share on other sites
Kudos    51

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.

Share this post


Link to post
Share on other sites
timsweb    1

Thanks :) Got it all working now :)

Share this post


Link to post
Share on other sites
The_Decryptor    1,105

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.

Share this post


Link to post
Share on other sites
Jerry Grey    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... :)

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.