Hi All

I am reading "More Eric Meyer on CSS", and came across a passage (on p158)
that I don't understand. After making some a tags have display:block, he
says:

"Note that we have *not* changed the nature of the links themselves. The a
elements are still inline elements. What's happened is that the CSS is
getting them to generate block boxes. This is a subtle but crucial
difference. If CSS changed the elements themselves to be block level,
document validation could easily break down."

Is there really an intrinsic difference between block level and inline
elements, other than presentational ones? If so, what? I thought that all
HTML nodes on the DOM tree were pretty much equal, and that the distinction
between block and inline was a convenience that eg makes paragraphs behave
the way we want. (Or is merely referring to the fact that the XHTML DTD
doesn't allow 'block' elements like div to appear inside a p?)

-- 
Chris Ovenden

http://thepeer.blogspot.com
"Imagine all the people / Sharing all the world"
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to