Re: a bug or a missunderstanding

On Wed, Jun 22, 2005 at 09:22:21AM +0200, Gerhard Loosch wrote:
> The validator reported, that I must not place an block-element (like h1)
> inside an inline-element (like a). As You can see, my a-element is
> explicitely set to 'display: block;'.

Setting an inline element to display like a block element does not
make it a block element - it just looks like one if the browser
supports CSS.

> Is it a bug or a missing feature of the validator, not to interpret the
> style-directive display: block and still assuming, any a-element to be an
> inline-element?

Feature. CSS is a presentation language, it doesn't alter the
structure of the page.

-- 
David Dorward                                      http://dorward.me.uk

Received on Wednesday, 22 June 2005 10:48:38 UTC