Any suggestions on how I can keep the UL and the TABLE markup, but somehow get the LI discs to be centre aligned vertically (whereas they appear to be baseline aligned without styling)?
I've experienced this on FF on windows (only - not IE at all) - and it looks to me like a weird browser bug. I've not seen any published work-arounds (and after a few hours thought I'd ask you all)...
Please note that I have cut this down to the bare bones to show the weird behaviour (and obviously I am not just wrapping a single image in a table - but this is the bare minimum required to show this happening).
Oh, I need to retain the doctype as well. The working solution has to work the same in FF, IE (6 and 7) and Safari... even though the problem only surfaces in FF for windows.
Thanks for taking a look!
Jeff
[tt]Jeff's Page @ Code Couch
[/tt]
What is Javascript? FAQ216-6094
I've experienced this on FF on windows (only - not IE at all) - and it looks to me like a weird browser bug. I've not seen any published work-arounds (and after a few hours thought I'd ask you all)...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en">
<head>
<title>Some title</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="en" />
</head>
<body>
<ul>
<li><table><tr><td><img src="something.jpg" width="30" height="30"/></td></tr></table></li>
</ul>
</body>
</html>
Please note that I have cut this down to the bare bones to show the weird behaviour (and obviously I am not just wrapping a single image in a table - but this is the bare minimum required to show this happening).
Oh, I need to retain the doctype as well. The working solution has to work the same in FF, IE (6 and 7) and Safari... even though the problem only surfaces in FF for windows.
Thanks for taking a look!
Jeff
[tt]Jeff's Page @ Code Couch
[/tt]
What is Javascript? FAQ216-6094