getting rid of spaces in table
I need to get rid of the spaces in my html table so that my images line up correctly..
The width of the cells is ok.. it the height that is giving me problems.. Any suggestions.
Dwayne
Web Development
I need to get rid of the spaces in my html table so that my images line up correctly..
The width of the cells is ok.. it the height that is giving me problems.. Any suggestions.
Dwayne
by twistypigeon
There are a lot of little things in table cells (
If you want even more control, use an inline style for the particular cells, or define a default style for the TD object.
eg
by dwaynemudd
by jay eckles
You should definitely use CSS to do this type of visual alignment; any thorough CSS tutorial should go into the subject. However, if you're stuck with tables for some particular reason, then in the table tag, try the attributes
cellspacing=0
cellpadding=0
and when you're coding your table, don't put any whitespace between the opening and closing td tags and the content of the cell:
If this doesn't address your problem, then I suggest you provide some example HTML to demonstrate the specific problem you're having.
Good luck.
Jay Eckles
by dwaynemudd
by dwaynemudd
This discussion is closed to new replies.
Sort by Trending