I am going crazy with getting my layout right across browsers.
The following page looks good in IE 6 + 7, but Firefox 2.0.0.7 does something very strange (for simplicity I simply added the style inline):
What the heck is going on here?HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Test</title> </head> <body> <div style="border-width: 1px; border-color:red; border-style: solid;"> <table border="0" cellpadding="0" cellspacing="0" style="display:inline; background-color:lightblue;"> <tr><td>Foo?</td></tr> </table> <table border="0" cellpadding="0" cellspacing="0" style="display:inline; background-color:lightgreen;"> <tr><td>Bar!</td></tr> </table> </div> </body> </html>
Of course it would be nicer not to use tables here, but this is generated code that would be _very_ hard to change.








Bookmarks