I spent all day long fighting with a stupid layout problem. I have a 
table that is used to layout a google style info box the is part of the 
msCross library I use for maps. It works fine with a transitional 
DOCTYPE and for some reason add extra space around an image in a cell 
because it thinks it has text in the cell as far as I can tell.

Anyway, I finally figured out I had to do two things to fix the problem

1. set the font-size to anything less than the height of the image AND
2. make sure that the image height and vspace attributes were set

The problem was that all of these tables and cells and stuff were being 
generated by javascript in the msCross library.

Anyway, once I figured out I needed to set this stuff, 3 lines of jQuery 
added to the library and it was working.

I have a really appreciation for you guys that read and understand the 
DOMs. Fixing stuff like this is a real hassle when you have to poke and 
test, poke and test, etc.

-Steve

Did I mention I <heart> jQuery?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to