Shape 5

Joomla Club Extensions => Horizontal Accordion v2 - Club => : kristoph May 17, 2011, 09:37:03 AM



: Top margin/padding
: kristoph May 17, 2011, 09:37:03 AM
Good Day,

I have placed an image in each module.  I would like there to be no space at all between the top border of the module and the image.  I have already changed:
.s5_hor_acc_mod_wrap {
   float:left;
   padding-top:0px;
   padding-left:0px;
   font-size:10px;
   text-align: top;
}
The left padding that I've taken out took care of the space on the left of the image, but I can't seem to move the top with the padding-top setting.  I've tried using minus settings as well.

The image is also at the very top in the custom module.

Where else do I need to make a change to do this?

Thank you


: Re: Top margin/padding
: mikek May 17, 2011, 11:38:19 AM
Hello,

Please post a url to where you have this published.


: Re: Top margin/padding
: kristoph May 17, 2011, 03:26:58 PM
URL:  http://ondigitaloffice.co.za/DEV/TAS/

Thank you


: Re: Top margin/padding
: mikek May 18, 2011, 07:38:19 AM
Hello,

Your template's css is overriding this with the following file:

http://ondigitaloffice.co.za/DEV/TAS/templates/yoo_phoenix/css/reset.css

Edit that file and at the bottom add:

.s5_hor_acc_mod_wrap p {
margin:0px;
}


: Re: Top margin/padding
: kristoph May 18, 2011, 12:31:25 PM
Thank you so much!  Problem solved.