View Full Version : Tables not displaying correctly on webpage

08-17-2006, 03:58 PM
I have a website that gathers stats and stuff for ice hockey in the UK, and my fixtures pages uses tables. When I insert a table in dreamweaver it looks all ok, but as soon as I upload it, it looks weird. (too much space in each cell box.)

here is a picture of how it looks in dreamwaver (how i want it too):

and how it looks like on the web:

can someone tell me why this is happening? and how to fix it?

08-17-2006, 07:03 PM
You've got paragraph tags inside your tablecells. Paragraphs have margins by derfault. Either remove them (but I don't you want that because your font size is associated with them), so insert a 0 margin to the paragraph:
<p style="font-size: 75%; margin: 0;">Game</p>

If you look at the code for your tables further down, you have about 10 nested span tags. One should be enough :)