PDA

View Full Version : FadeSlideShow 5px TOP/LEFT margin



royercas
05-27-2012, 11:11 PM
FadeSlideShow 5px top-left margin
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

I'm getting a 5px top & left margin. So images are 5px from the left top corner of the DIV location.

How could I get rid of this top/left margin ?

Thanks in advance

keyboard
05-27-2012, 11:15 PM
Do you have a link to a website with the problematic code?

royercas
05-29-2012, 01:07 PM
http://cosmeticdentalaser.com/visualaser/index.php

There it is a temp version of it, just for this issue to be illustrated.

You can see the "5px gap or margin" from top/left "corner"


Thanks!

jscheuer1
05-29-2012, 04:43 PM
In your css/main.css stylesheet you have:


img { border:1px solid #ccc; padding:5px; float:left; margin-right:10px; margin-top:5px; margin-top:5px; }

Add a rule after that:


.gallerylayer img { border-width: 0; padding: 0; float: none; margin: 0; }