- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 05 Feb 2006 15:14:23 +0100
- To: richard <rjs@gomonkeyjam.com>
- Cc: www-validator@w3.org
* richard wrote:
>The problem centres around me trying to use a <div> as a button for a hyperlink.
>
>My code follows the structure,
>
><a href="index.html"><div class="className"><p class="className">Home</p></div></a>
<a> can't have <div> children, you could try to use
a { display: block }
in your style sheet and remove the div/p elements.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Sunday, 5 February 2006 14:13:33 UTC