Quote:
Originally Posted by Webnauts
Or do you mean something like this: <a href="test.html"><div>this is invalid markup</div></a> ?
|
Yes. So I assume this is incorrect. I can't understand why the styles aren't showing correctly in both browsers! Grrrrr....
Both IE and FF seem to render the link just fine, but I'm worried that the SEs will read the link text as '<div>this is invalid markup</div>' instead of 'this is invalid markup'.
Edit---
I see the error of my ways. My doc and html tags were invalid, and once I changed the doctype to XHTML 1.0 Transitional, I'm presented with a much more precise layout that looks the same in both IE and FF (although I'm sure I'll run across something that doesn't work right in both)