I need help with a table cellspacing pading problem in IE.

amrod's picture

They have: 26 posts

Joined: Jan 2004

I am making a website for a Church, and I ran into this problem. on the side of the page I hav a blue box that i will put links on. I wanted the top corners to be rounded so i made an image for the top with roundex corners and put it in one cell, and then made a cell bellow it with a background of the same color so it will look like that. In mozilla it worked great, however in IE there is a spce in beetween the imge and the cell below it. you can see the page here:
http://www.xwebnet.com/webdev/church.html
You can see all the files i used for the page here:
http://www.xwebnet.com/webdev/
Can you help me? please tell me if you need more info.
Thanks,
Mark Watson

Busy's picture

He has: 6,151 posts

Joined: May 2001

Just put everything in your table cells on one line

this is wrong

this is right

this
is
right

Editors have shown people how badly to code for years, it's amazing what a space can and will do, same as image links, put them on seperate lines and you'll get vertical lines bottom right of the linked image.

amrod's picture

They have: 26 posts

Joined: Jan 2004

I didn't know that. I always thought that it was beter to do it the other way. thanks!!

amrod's picture

They have: 26 posts

Joined: Jan 2004

btw, it fix it right away.

They have: 5,633 posts

Joined: Jan 1970

I dident know that, thankx. But I never leave any spaces or breaks when I code. So it dident matter any way.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.