Maison > interface Web > tutoriel HTML > le corps du texte

新手,求帮助_html/css_WEB-ITnose

WBOY
Libérer: 2016-06-24 12:14:24
original
1110 Les gens l'ont consulté

.page_leftbox{	background-color: #f7f7f7;	background-image: url(images/page_box.gif);	background-repeat: repeat-x;	background-position: bottom;	width: 236px;	height: 217px;	margin-top: 5px;	margin-right: 0px;	margin-bottom: 0px;	margin-left: 0px;}.page_leftbox li{	line-height: 23px;	margin: 10px;	text-align: center;	border-bottom-width: 1px;	border-bottom-style: dashed;	border-bottom-color: #1d7cb6;	list-style-type: none;	color: #a60000;}
Copier après la connexion
这两个是不是有什么联系


回复讨论(解决方案)

page_leftbox这是父,page_leftbox li  这是子,子继承父的

http://www.w3school.com.cn/css/css_syntax_class_selector.asp里讲的很明白

第一个是 page_leftbox 里面的样式设置
第二个是 page_leftbox 里面 li 标签的样式设置

LZ也是柯迷???

Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!