PDA

View Full Version : Firefox messes up table


Andini
01-07-2008, 11:25 PM
Hey everyone. I'm new to Dreamweaver, and I ran into a problem with the table organization.

On this page, there are weird gaps between some table cells when viewed in Firefox, but the page looks fine on IE.

Any ideas?

Cary
01-08-2008, 01:03 AM
Try this styling:

img {
display:block;
}

Impossible to say if this will work.

Andini
01-08-2008, 01:06 AM
Where in the code should I put that?

Cary
01-08-2008, 02:19 AM
Put it in a new text file called "style.css" which you can save in the same folder as your html. Then put the following code in the head of your html.

<link rel="stylesheet" type="text/css" href="style.css">

Ricky55
01-08-2008, 09:20 PM
This happens a lot when you work with tables this is one of the reasons why CSS pages are better.

The best way to solve these issues I find is to undo until to a point when the table wasn't collapsing and try to resolve from there.

If you have exported the table from Fireworks then this can be caused when you remove an image from the structure. If this is the case ensure you enter in the size of the table cell in the properties bar prior to removing the image.

For example where you have the text choose a video was this an image you deleted?