Jump to content

Question

Posted

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

background-color: #c5a8b0;
background-repeat:no-repeat;[/codebox]

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

4 answers to this question

  • 0

Posted

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
  • 0

Posted

Thanks :) Got it all working now :)

Share this post


Link to post
Share on other sites
  • 0

Posted

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
  • 0

Posted

[quote name='Kudos' post='589660320' date='Aug 17 2008, 06:58']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.[/quote]
(Y)

[quote name='The_Decryptor' post='589661400' date='Aug 17 2008, 14:13']Can't wait until CSS3 is supported more.[/quote]
same here... :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.