共 11 篇文章 |
|
<div class="wrapper"> <div class="column">test</div> <div class="column">test</div> <div class="column">test</div></div>CSS 写法: Css代码 .wrapper { width: 400px; min-height: 50px; background-color: red; } ... 阅990 转8 评0 公众公开 14-01-06 14:45 |
IE7+FirefoxChromeSafariOpera8.<div id="container"> <ul> <li> List Item <ul> <li> Child </li> </ul> </li> <li> List Item </li> <li> List Item </li> <li> List Item </li> </ul> </div><ul> <li> List Item &... 阅13979 转54 评1 公众公开 14-01-04 22:49 |
20个 CSS 图形/图表教程和技巧汇总通常,图形和图表主要用于展示一组数据的规律、联系等,包括饼图、折线图、条形图等。一个良好和优秀的数据演示可以让老板或客户更容易了解和掌握你的分析结果,以便快速做出决策。现在使用CSS也可以做出非常漂亮的图形图表,CSS图表较图片/Flash型图表的优势是可以很容易地被下载,降低HTML页面的带宽要求。... 阅288 转3 评0 公众公开 12-01-15 21:28 |
接下来我们为这两个div指定样式: #left { background-color:#cccccc; border:1px solid #333333; width:300px; height:200px; float:left; } #right { background-color:#cccccc; border:1px solid #333333; width:300px; height:200px; float:left; }这样就达到了... 阅805 转32 评0 公众公开 09-02-09 23:34 |
font-style设定斜体,比如font-style: italic;font-weight设定文字粗细,比如font-weight: bold;font-size设定文字大小,比如font-size: 12px;(或者9pt,不同单位显示问题参考CSS手册)line-height设定行距,比如line-height: 150%;color设定文字颜色(注意不是font-color),比如color: red;font-family设定字体,比如font-family : "Lu... 阅163 转2 评0 公众公开 08-12-13 13:20 |
--[if lt IE 6]><link rel="stylesheet" type="text/css" href="2.css" />比IE 6 更低版本下显示的内容, 例如HTML<br>您使用的IE浏览器版本为5.5或者更低, 建议您升级浏览器!!!!<br><script>alert(''您使用的IE浏览器版本为5.5或者更低, 建议您升级浏览器!!!!'');&l... 阅248 转1 评0 公众公开 08-12-12 00:39 |
一、使用css缩写 使用缩写可以帮助减少你CSS文件的大小,更加容易阅读。这段代码的CSS定义是:div#subnav ul { /* Some styling */ } div#subnav ul li.subnavitem { /* Some styling */ } div#subnav ul li.subnavitem a.subnavitem { /* Some styling */ } div#subnav ul li.subnavitemselected { /* Some styling */ } div#subnav ul... 阅235 转3 评0 公众公开 08-06-27 22:14 |
阅164 转2 评0 公众公开 08-04-03 20:17 |
Keeping these aspects in mind, we came up with a compendium of best CSS directories, CSS showcase, CSS galleries that rank / grade websites (using CSS) on the basis of ’alexa ranking’, colors, categories, tags, ratings and RSS.If you feel that a particular site is worth to get showcased, then drop the URL’s in your... 阅390 转1 评0 公众公开 07-04-23 23:31 |