Home > Web Front-end > HTML Tutorial > Ask a question about css under ie6! _html/css_WEB-ITnose

Ask a question about css under ie6! _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:09:54
Original
989 people have browsed it

I would like to ask:

#name_a{.....;}li{....;}
Copy after login

Is this not possible? ?
Should they be separated:
#name_a{....;}#name_a li{.....;}
Copy after login


Reply to discussion (solution)

Isn’t the first one written separately? Well. . Just no line breaks. . What has changed is everything. . .

#name_a li{
and
li{
The range of selection is different

Both are ok, personal preference, you can use the entire css file without A branch is enough. Look at Jingdong’s css, which is densely packed. There are no branches.

.main{...}.menu{....}.top{...}
As above Writing will make the css file take up less space, but it will be difficult to read

.main{...}
.menu{....}
.top{...}
The css file written like this will be a little larger, but more organized

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template