Table Cells Larger Than They Are Meant To Be
Solution 1:
I think you need to use display: block
on your images. When images are inline
there's a little extra space for the line spacing.
Solution 2:
You could also adjust the line height of the td element:
td {
line-height: 0
}
Solution 3:
I know this might sound bad, but you need to ensure there is no whitespace between then end of you <img>
tag and the start of the end </td>
tag.
i.e. The following will present the problem:
<td><imgsrc="image.jpg"/></td>
And this will not:
<td><imgsrc="image.jpg"/></td>
Hope that helps.
Edit: OK, that wasn't the solution at all. doh!
Solution 4:
I haven't looked up the whole thing, but the problem lies somewhere in the style sheets.
If you copy out only the table part of it, it is displaying the map correctly.
If you remove the final </span>
tag from this part, it is also working (however the page gets mixed):
<divclass="inner"><spanclass="corners-top"><span></span></span><divclass="content"style="font-size: 1.1em;"><!-- Stackoverflow findy thingy --><tableborder="0"cellspacing="0"cellpadding="0">
So either try from the beginning with the css or try to remove one-by-one them, to see, which is causing the problem.
Post a Comment for "Table Cells Larger Than They Are Meant To Be"