--- On Wed, 7/1/09, Noel Taylor <noelta...@gmail.com> wrote:

> What is the difference then,
> philosophically I guess, between a
> span and a div, since their default block/inline stylings
> do not determine their fundamental nature?

Their fundamental nature is, very broadly speaking:

div: this is a section of the document

span: this is a piece of text that is, in some way, separate from the text that 
surrounds it

The block/inline nature of their display is, by necessity, closely linked to 
their very existence. In general, span and div should be avoided whenever 
possible. My take on the progress bar doesn't use spans or divs at all, but 
reuses an existing HTML element: the definition list. Take a look at:

http://www.fiveminuteargument.com/progress-bar

This would be a non-issue if Eric Meyer's suggestion to allow href on any 
element were to take off:

http://meyerweb.com/eric/thoughts/2008/06/02/the-missing-link/

- Bobby
______________________________________________________________________
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