|
Posted by Andy Dingley on 09/19/07 17:12
On 19 Sep, 15:28, David Dorward <dorw...@gmail.com> wrote:
> That's a syntax error.
No, it's an error of validity, not of syntax.
> <a> elements may not contain <div> elements.
Agreed.
It's not a good idea to embed <div> in <a>. As it's impossible to do
this in HTML (if you did it anyway, then it's no longer HTML), then
the browser has to compensate by turning your approximation of what
you thought you needed into the browser's approximation of what it
thinks you wanted. Obviously this is now vague, unpredictable and out
of control. Don't do it.
Navigation:
[Reply to this message]
|