在跨度问题内嵌套div [英] nesting div within span problem
本文介绍了在跨度问题内嵌套div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是不正确的+你永远不需要这样做=>因此<强>永远不应该。
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 ?
解决方案
It is not right + You never need to do this => thus never should.
这篇关于在跨度问题内嵌套div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文