dual background-images

  • Skybin
  • Graduate
  • Graduate
  • Skybin
  • Posts: 104
  • Loc: Where the soy and cornfields grow...

Post 3+ Months Ago

Is there a way to apply 2 background images to a css element? I have one image, that I would like to have shown on both edges of the element but see no way to do that other than use two images.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • gsv2com
  • Professor
  • Professor
  • User avatar
  • Posts: 776
  • Loc: Nippon

Post 3+ Months Ago

Not possible to have two backgrounds in one css element, though I wish it was. Maybe in a future version of css...

One way to make it APPEAR to work, however, is to use one wrapper div with one background and another div inside the wrapper with the other background and content.

Code: [ Select ]
<div id="wrapper">
<div id="content">
</div></div>
  1. <div id="wrapper">
  2. <div id="content">
  3. </div></div>
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2194
  • Loc: Canada

Post 3+ Months Ago

nice hack :D
  • gsv2com
  • Professor
  • Professor
  • User avatar
  • Posts: 776
  • Loc: Nippon

Post 3+ Months Ago

I went through this same type of frustration on a site I did about a year ago...

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 58 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.