> 
> <p><a href="?=node/1"><div id="hoologo"></div></a></p>
> 
> Hmm - maybe it's because I did not give #hoologo any css (especially
> display: block;)
> 
> Is that right or am I way off the mark.
> 

It's way off the mark.  you can't put a div in an a tag (or a p tag for that 
matter)  The HTML doctype doesn't allow that structure.  If you want to link 
the contents of the div, put the a tag in the div.  Since the div is empty, 
it's probably serving a different purpose all together, and should be another 
element (img maybe?)  Also, you could use an empty span, instead of div, or 
your could remove the div completely, and give the a tag display:block in the 
CSS.

---Tim
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to