View Single Post
  #3 (permalink)  
Old 05-29-2007, 12:10 AM
supernatural_247 supernatural_247 is offline
WebProWorld Pro
 
Join Date: Mar 2005
Location: Los Angeles
Posts: 258
supernatural_247 RepRank 1
Default Re: Search Engine recognition - DIV tag inside A HREF tag

Quote:
Originally Posted by Webnauts View Post
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)
__________________
iHomeConnect

Last edited by supernatural_247; 05-29-2007 at 12:46 AM. Reason: new perspective
Reply With Quote