PDA

View Full Version : How to override img css for Ultimate Fade-in Slideshow?



kstewart
09-28-2011, 11:08 AM
1) Script Title: Ultimate Fade-in slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: The css file for my site contains:


img {
padding: 5px;}

which affects the images in my slideshow. How can I override this (I dont want to remove it from the css file) for the slideshow images? I would like to have no padding.

Here is my test page: http://www.eliteenergy.com.au/index%20-%20Copy.html

The header contains the problem slideshow. I have two slideshows working already on the page, but the padding is not an issue.
Thanks in advance :)

azoomer
09-28-2011, 03:33 PM
try adding this


.gallerylayer img {
padding: 0;
}
below the other css img rule

kstewart
09-28-2011, 09:47 PM
Excellent thanks, such a simple fix :)