PDA

View Full Version : How to add a background like...


bhuwan
12-26-2005, 10:53 PM
For popups, like GAL on this site (hover over the word GAL to see what I mean)

bhuwan
12-26-2005, 10:53 PM
you can see that "ABC"

Barry
12-27-2005, 05:42 AM
Add the following to your Yellow Box Style.


background-image: url('http://www.yoursite.com/images/misc/filename.ext');
background-repeat: no-repeat;
background-position: bottom right;

The Geek
12-27-2005, 11:10 AM
Thats the easiest way, you can also add it in your description like:

<div style="background-image: xxx;">THis is my popup description</div>

Though its uglier, I used the later one so I could still keep the other gals using the same styles (otherwise you need a style per image so-to-speak). I think I know a much better way to do this in the future :)

bhuwan
12-27-2005, 06:41 PM
works great thanks. PS i used <div style "background-image URL()";>

themusicman
05-29-2006, 12:07 PM
Thats the easiest way, you can also add it in your description like:

<div style="background-image: xxx;">THis is my popup description</div>

Though its uglier, I used the later one so I could still keep the other gals using the same styles (otherwise you need a style per image so-to-speak). I think I know a much better way to do this in the future :)Get on with it then man.... :):):) hehehehe