摘要: ①font简写:font:italic small-caps bold 12px/1.5em arial,verdana;等效于:font-style:italic; font-variant:small-caps; font-weight:bold; font-size:12px; line-height:1.5em; font-family:arial,verdana;顺序:font-style | font-variant | font-weight | font-size | line-height | font-family(注:简写时,font-size和line-height只能 阅读全文
posted @ 2013-03-29 15:28 伴夏 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 一般的块级元素:段落<p>、标题<h1><h2>...、列表,<ul><ol><li> 、表格<table>、表单<form>、DIV<div>和BODY<body>等元素。块级无素的显著特点是:每个块级元素都是从一个新行开始显示,而且其后的无素也需另起一行进行显示。相当于在它之前和之后各插入了一个换行。内联元素: 表单元素<input>、超级链接<a>、图像<img>、<span> ........内联元素只能放在行内,就像一 阅读全文
posted @ 2013-03-29 11:47 伴夏 阅读(1036) 评论(0) 推荐(0) 编辑