[thelist] help with xhtml
Jeremy Keith
jeremy at adactio.com
Fri Mar 2 11:47:20 CST 2001
>> i am taking my first stab at coding a site in xhtml & have run into a
>> problem - evrything lays out fine in NN4, IE5 & Opera but on Mozilla i am
>> getting spaces in my table & i don't know why
I think I know the problem. I've seen this before; odd gaps under images in
table cells if the document is using the transitional XHTML DTD.
The workaround is to add this to your stylesheet:
img { vertical-align: text-bottom; }
or
img { vertical-align: block; }
Thank the XHTML-list for this handy little titbit. I've posted it before as
a tip so I'll refrain from putting tip tags around it now :)
Jeremy Keith
a d @ c t i o http://adactio.com/
More information about the thelist
mailing list