Padding problem with .swf

GK User
Mon Jan 31, 2011 2:51 pm
Hi,

I've used to separate .swf holding modules and they both do the same thing so I believe it's the padding in the template.

When I add a .swf to header 2 it is padded on the top, bottom and left hand side.

How do I remove this padding so it falls in line with the other header 2 module?

Image
User avatar
Fresh Boarder

GK User
Wed Feb 02, 2011 4:37 am
Help. :(

Site with the problem: http://www.ez-clan.net/
User avatar
Fresh Boarder

teitbite
Wed Feb 02, 2011 5:23 am
Hi

The best way is to creat a module class suffix which will disable spacec in modules. Let's call it for example: "_nopadding".

All You will have to do is to add also the code to css:

Code: Select all
.moduletable_nopadding {
padding:0px;
}
User avatar
Moderator

GK User
Wed Feb 02, 2011 7:31 am
Didn't work for me. :(

I added it to override.css and put the module suffix as _nopadding.
User avatar
Fresh Boarder

teitbite
Wed Feb 02, 2011 11:37 am
Hi

Sorry, the padding is on one layer inside, chnge the code to this:

Code: Select all
.moduletable_nopadding .moduletable_content {
padding:0px;
}
User avatar
Moderator

GK User
Wed Feb 02, 2011 12:18 pm
Thanks that worked. :D
User avatar
Fresh Boarder

teitbite
Wed Feb 02, 2011 1:30 pm
Hi

I'm glad I could help.
User avatar
Moderator


cron