PDA

View Full Version : Html Table Probelms



Fact
November 9th, 2004, 02:38 PM
The image expains it all , table1 is a table with no css applied , just a plain table with cellpadding/spacing

while table2 has an extra gap on the right side ? ( no matter what the width is , there will be that extra gap)

it happened on my previous site , and i dont know how it happened ?

DDD
November 9th, 2004, 02:41 PM
image does not really explain it all. Does the second table have css applied. Are the tables nested. Also could you post a link to the page so we can view the source?

Fact
November 9th, 2004, 02:48 PM
I deleted mt prev site , thats why i need to know how its done :X

http://www.fact.mercury-admin.com/r.php

the css i used is on the source if thats anyhelp

DDD
November 9th, 2004, 03:31 PM
for starters. Try putting the css inbetween the head tags. Right now you have it outside the html tags. Also this sample is not like your first image at all. also try completing the css tag by adding type="text/css". Other than that your css looks good. I would like to see the page which is the same as the image you showed.

Fact
November 9th, 2004, 03:35 PM
What imma do now , is take a few SS`s crop/edit to show what i mean

edit , see on the 2nd table how the right side is longer , thats what im trying to do, and no matter what width the table is , the right extra space will be the same...? any ideas now ?

DDD
November 9th, 2004, 03:43 PM
it is better to show a coded example. even if you make a mistake we can show you where you made it.

bad cellspacing is usually what causes that. I tried to replicate that mistake and was unable to. I am not sure what you are doing to get those results. Try giving the cells the same width as the main table.,

simplistik
November 10th, 2004, 10:03 AM
Please post your html or just a ghetto test html that is outputing the error. We can't trouble shoot html coding as easy w/o actually seeing it. Thx