Jump to content



Photo

  • Please log in to reply
4 replies to this topic

#1 timsweb

timsweb

    Neowinian Senior

  • Joined: 19-February 04
  • Location: UK

Posted 16 August 2008 - 20:00

[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


#2 vetKudos

Kudos

    Neowinian Senior

  • Joined: 19-October 04
  • Location: Ireland

Posted 16 August 2008 - 20: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.

#3 OP timsweb

timsweb

    Neowinian Senior

  • Joined: 19-February 04
  • Location: UK

Posted 16 August 2008 - 22:13

Thanks :) Got it all working now :)

#4 The_Decryptor

The_Decryptor

    STEAL THE DECLARATION OF INDEPENDENCE

  • Tech Issues Solved: 4
  • Joined: 28-September 02
  • Location: Sol System
  • OS: iSymbian 9.2 SP24.8 Mars Bar

Posted 17 August 2008 - 04:13

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.

#5 vetGerry

Gerry

    Neowinian Senior

  • Joined: 15-May 04
  • Location: localhost

Posted 17 August 2008 - 05:36

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... :)