css笔记
There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.
<!--
body {
font: 62.5%/1 "Myriad Pro", Frutiger, "Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Verdana, sans-serif;
}
form {
font-size: 1.4em;
width: 30em;
}
/* fieldset styling */
fieldset {
margin: 1em 0; /* space out the fieldsets a little*/
padding: 1em;
border : 1px solid #ccc;
}
/* legend styling */
legend {
font-weight: bold;
}
/* style for labels */
label {
display: block;
}
/* style for required labels */
label .required {
font-size: 0.75em;
color:#760000;
}
input {
width: 200px;
}
input.radio, input.submit {
width: auto;
}
/* style form elements on focus */
input:focus, textarea:focus {
background: #ffc;
}
input.radio {
float: left;
margin-right: 1em;
}
textarea {
width: 300px;
height: 100px;
}
/* Hack to make sure the floated radio buttons
sit next to the labels correctly in IE/Mac*/
/* This is the style I want IE/Mac to see */
input.radio + label {
text-indent: 2em;
}
/* Using the commented backslash filter, I'm resetting
the above rule for everything other than IE5/Mac \*/
input.radio + label {
text-indent: 0;
}
/* End the hack */
-->
2682

被折叠的 条评论
为什么被折叠?



