1

Topic: Remove padding in main.tpl for my header

I'm trying to incorporate my site's header into main.tpl.  One of the DIV's involved in the header holds a table with 2 images, each image in it's own cell.  Ordinarily these images appear with no space between them.  (see http://www.9kisses.com/test/index.php)

However, something in the css of the forum is causing padding to be added to each element of my table so the images are spaced apart.  (see http://www.9kisses.com/test/forum/index.php)

Can someone kindly point me in the right direction to correct this?

Thanks,
Denise

2

Re: Remove padding in main.tpl for my header

I don't think its a PunBB setting. I think its default padding on images which Firefox applies when you use the strict doctype. Just try adding img {display: block} somewhere in the stylesheet.

EDIT: Oops. That will give you block level smilies as well. It needs to be more specific so make it  td img {display:block}

3

Re: Remove padding in main.tpl for my header

Great ... that worked.  Thanks.
Odd that I didn't need to do that on my other pages, just for the forum.  In any event, glad to get that fixed!

4

Re: Remove padding in main.tpl for my header

Your other pages are using a different doctype so browsers are rendering pages in quirks mode rather than standards mode.