Tim, thank you for your response.  I'm now very curious to know your
thoughts
on the following:

1. Is there in fact a rule/convention that you shouldn't put <a> tags around
block-
level elements, or have I been misinformed?

2.  If there is such a rule, is putting <a> tags around spans with {display:
block}
any better than using divs?  Isn't the fact that divs are block-level and
spans are
inline the main difference between spans and divs?  Am I not just making one
into the other by changing this property?

On Tue, Jun 30, 2009 at 2:10 PM, Climis, Tim <tcli...@indiana.edu> wrote:

> -----Original Message-----
> From: css-d-boun...@lists.css-discuss.org [mailto:
> css-d-boun...@lists.css-discuss.org] On Behalf Of Noel Taylor
> Sent: Tuesday, June 30, 2009 1:47 PM
> To: css-d@lists.css-discuss.org
> Subject: Re: [css-d] progress bar
>
> > Isn't making the spans "display: block" the same as just using divs?
>
> Not at all.
>
> Stop thinking about an HTML element's default styling as having to do with
> the element at all.
>
> HTML tells you about structure.  the div(ision) divides parts of the
> document.  It's block-level, because it's for creating blocks of structure.
>  (not at all related to display blocks, except by coincidence)
>
> Span creates a division on inline-level elements (like a).
>
> So telling your in-line element (span) to display as a box (that's all
> display:block means) is in no way against the letter or the spirit of the
> rules.
>
> ---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