doctorChuckles
Programmer
Hi,
I'm a do-it yourself web-page author. I'm upgrading my old site, which I made with a simple HTML editor. I'm learning to use CSS. That's going okay, but I'm stumped on a tiny item that's driving me nuts. Please help!
I'm using table cells with background-color or background-image to add some color and design to the pages. Standard stuff... Some of the table cells have html in them. Others are empty except for a background color or image. They just serve as decorative borders.
I'm seeing little gaps between the edges of table cells, table rows and different tables. They look two or three pixels wide. I'm pretty sure they are the same color as the background-color of the page as a whole. I've done the sensible things to make them go away. I've been careful to set all borders to "0". That didn't do any good. I tested the possibility that these gaps are borders by setting the border-color to black. The borders showed up adjacent to the gaps. That means these mysterious gaps are not borders. I've eliminated all <br> characters.
I'm setting the width and height of these cells using the width and height CSS specifications. I haven't done that before. I'm wondering if that involves a gotcha. That's just a wild guess. I could try setting the widths with spacer.gif instead.
I'm previewing these pages in Firefox, Safari, Explorer and the preview window in PageSpinner. They look the same way on every browser. All the CSS specifications are working, so I'm not making syntax errors. Firefox tends to ignore any CSS item that has a syntax error.
Any suggestions?
Thanks,
Tim
I'm a do-it yourself web-page author. I'm upgrading my old site, which I made with a simple HTML editor. I'm learning to use CSS. That's going okay, but I'm stumped on a tiny item that's driving me nuts. Please help!
I'm using table cells with background-color or background-image to add some color and design to the pages. Standard stuff... Some of the table cells have html in them. Others are empty except for a background color or image. They just serve as decorative borders.
I'm seeing little gaps between the edges of table cells, table rows and different tables. They look two or three pixels wide. I'm pretty sure they are the same color as the background-color of the page as a whole. I've done the sensible things to make them go away. I've been careful to set all borders to "0". That didn't do any good. I tested the possibility that these gaps are borders by setting the border-color to black. The borders showed up adjacent to the gaps. That means these mysterious gaps are not borders. I've eliminated all <br> characters.
I'm setting the width and height of these cells using the width and height CSS specifications. I haven't done that before. I'm wondering if that involves a gotcha. That's just a wild guess. I could try setting the widths with spacer.gif instead.
I'm previewing these pages in Firefox, Safari, Explorer and the preview window in PageSpinner. They look the same way on every browser. All the CSS specifications are working, so I'm not making syntax errors. Firefox tends to ignore any CSS item that has a syntax error.
Any suggestions?
Thanks,
Tim