It's not valid to put a block element inside an inline element. You are better off putting the anchor inside the heading if you think it might help SEO.
But having your navigation in an unordered list is more correct. Cheers, Cam On Tue, Feb 3, 2009 at 12:39 PM, Stig Manning <[email protected]> wrote: > Hi NZPHPUG, > > As far as I understand there is no SEO benefit to having CSS-rollover > navigation full of heading-links, > for example: > > <a href="somepage.html" id="btn-1"><h4>Somepage</h4></a> > <a href="somepage2.html" id="btn-2"><h4>Somepage2</h4></a> > <a href="somepage3.html><h4>Somepage3</h4></a> > <a href="somepage4.html><h4>Somepage4</h4></a> > > The above example is not semantically correct, but does it improve SEO by > making the links more important? > Before I go and make the suggestion to remove the h4s and replace them with > something that doesn't affect the weighting, I would like to confirm that > this is the case. > This is how I would go about creating CSS-rollover navigation: > > <a href="somepage.html" id="somepage-button"><b>Somepage</b></a> > > As far as I see it, the above HTML is fine and doesn't mess with the > semantics of the page. > > Cheers, > Stig > > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
