div{ width:200px; height:200px; border:2px red solid; float:left; }这个id选择器上面没有用#div1设置css样式,这个是怎么回事啊,两个div都可以用?
This id selector does not use #div1 to set the css style. What's going on? Can both divs be used? -PHP Chinese website Q&A-This id selector does not use #div1 to set the css style. What is going on? Can both divs be used? -PHP Chinese website Q&A
Please watch and learn.
没有div1样式有div样式,在div标签使用div样式
这里直接指定了div标签,即所有div标签的内容都应用该格式
This id selector does not use #div1 to set the css style. What's going on? Can both divs be used? -PHP Chinese website Q&A-This id selector does not use #div1 to set the css style. What is going on? Can both divs be used? -PHP Chinese website Q&A
Please watch and learn.
没有div1样式有div样式,在div标签使用div样式
这里直接指定了div标签,即所有div标签的内容都应用该格式