Mac Mac -4 years ago 83
HTML Question

nesting div within span problem

div is a block element and span is an inline element so according to xhtml 1.0 validation it is not right but still several websites uses this method for styling is it all right ? or it will cause some problem please help me ?

Answer Source

It is not right + You never need to do this => thus never should.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download