PDA

View Full Version : Bordering images



harlem
01-01-2010, 04:36 PM
Hello,

I have used the script on the following page: http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

But now I want to add a black border around each image, width = 1px. How do I accomplish this?

jscheuer1
01-01-2010, 04:59 PM
If your images are all the same dimensions and the slide show's dimensions are also set to that size, you can put something like this:


<style type="text/css">
#fadeshow1 {
border:1px solid red;
}
</style>

In the head of your page, where fadeshow1 is the wrapperid for that show.

If your images are not all the same dimensions and/or the slide show's dimensions are not set to that size, it would depend upon just how things are setup.

harlem
01-01-2010, 05:02 PM
Thanks for quick answer, will try it out!