Just being picky here i guess but it is invalid syntax to place a div inside an anchor tag. The correct way to do this would be to have the anchor inside the div and then using css set the display property of the anchor to block like this
This will force tha nchor to fill the div inthe x direction as if it was itself a block level element recreating the effect above whilst maintaining valid html.
This will work for all browser version 5 and above. It wont stop it working in netscape 4 but it wont increase the hit area of the anchor. I dont see that this matters. If something is usable in NS4 that is good enough for me.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.