摘要:
<input type="text" name="address" size="60" maxlength="60" style="color:gray" value="(测试)" onfocus="if(this.value=='(测试)'){this.value=''};this.style.c 阅读全文
摘要:
<body> <style type="text/css" rel="stylesheet"> html,body{ font-size: 16px; } p { -webkit-margin-before: 2em; -webkit-margin-after: 2em; -webkit-margi 阅读全文
摘要:
总的来说:这是CSS3.0的对于文章段P容器的定义方法语句!display:block这个样式,只定义了P容器为一个块;后面四句是CSS3中的样式定义方法;-webkit-margin-before: 1em;-webkit-margin-after: 1em;分别定义p的上边距和下边距的数值是1倍 阅读全文