re: <a> elements may only contain other inline elements

hang on,
so if i have an anchor tag wrapped around an image (display:inline by
default), its deemed fine by the validator, but if I make that image
"display:block" via the css, (for design purposes, which must be a
pretty common practice on many, many sites - including many i've
designed) would that practice be frowned upon if the validator could
validate your markup *and* the corresponding css at the same time?

possibly some bigger questions there - one being, why shouldnt you be
able to wrap a anchor around a block level element? i know the
difference between inline and block, and the fact that block elements
cant be inside inline elements - but this particular anchor question
seems a bit shakey....

pete
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to