|
mozillaman,
I'd try adding a CSS class to the "bottom" table that would give it a negative top margin. That way you'd be "pulling" that table up to flush with the table above it. As you've seen, though, you're going to be fighting browser capabilities, so you may end up using a variety of "hacks" to make it behave properly.
Perhaps enclosing each table in a separate div and then applying the style parameters to the divs would be more reliable. Also, if you can get away with absolute positioning, you can effectively force the divs (or the tables) to be exactly where you want them to be.
I hope this helps,
ric
|
|
Expert:
|
rcastagna
|
|
Date:
|
Dec 28, 2007
|
|
Time:
|
14:53
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
Thanks rcastagna.
I'll try wrapping each table 'round a div and see what happens, before I conclude this and "distribute points".
|
|
Expert:
|
mozillaman
|
|
Date:
|
Dec 28, 2007
|
|
Time:
|
15:39
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
I did more studying on this question...and found out more about it. In XHTML strict mode, this problem happens when a picture inside a table is set at the exact same as the table. There is this little bit of "padding" beneath the image that I don't know how to remove.
I would like to know how to fix this without weird hacks such as setting negative margins/padding.
Thanks,
mm
|
|
Expert:
|
mozillaman
|
|
Date:
|
Dec 30, 2007
|
|
Time:
|
18:21
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
bump. I found out what the real problem was! In XHTML strict mode, if an image's style is not set to display: block than 3-4 extra pixels show underneath. rcastagna you did not help me in the way I wanted, but to show appreciation I'll award you the points. :)
|
|
Expert:
|
mozillaman
|
|
Date:
|
Dec 31, 2007
|
|
Time:
|
16:20
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
|
|
|
|
This question has been answered, and points have been rewarded to the following experts:
| rcastagna: |
50 |
| mozillaman: |
25 |
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.
|
|