
html/css
文章平均质量分 55
xiaowuStyles
专注.net java 安卓
展开
-
html入门 总结
1 HTML入门 * HTML 指的是超文本标记语言 (Hyper Text Markup Language) * 扩展名:*.html 或 *.htm * 需要使用浏览器进行解析(查看) * HTML源文件通过浏览器进行解析,不需要编译 * 规范:w3c2.标签 * 必须使用扩住 * 开始标签:原创 2014-05-08 07:36:12 · 772 阅读 · 0 评论 -
css与html的三种结合方式
Insert title here<!-- css与html的结合方式: 一、内联样式 在开始标签内部关联:即在styel属性里面写CSS代码。 优点:直接,很灵活。 缺点:如果同一标签,样式一样,会造成代码重复。 二、内部样式表: 在 style 标签中添加css代码 优点:对网页中相同的标签进行统一设置。 缺点:对局部设置不够灵活。2、如果有多个页面样原创 2014-05-08 10:55:03 · 4766 阅读 · 0 评论 -
自定义鼠标 形状
Insert title here #div_1{ width: 100px; height: 100px; border: 1px red solid; cursor: url("07.ico"),pointer; }原创 2014-05-08 11:32:25 · 613 阅读 · 0 评论 -
利用css的样式对文本进行隐藏和显示
Insert title here #div_2{ display: inline;}#span_1{ /* display:block; */ visibility: hidden;} div1div2span1span2原创 2014-05-08 12:34:29 · 887 阅读 · 0 评论 -
css的派生选择器
Insert title here -->div p{ color:red; font-size:20px;}div,p{ color:green; font-size:30px;}/* p{ color:green;} */a:LINK { text-decoration:none; color:green; }a:HOVER { text-decor原创 2014-05-08 11:02:52 · 874 阅读 · 0 评论 -
css的三种选择器
Insert title here<!-- css 三种基本选择器: 1、标签名选择器: 标签名{ css代码 } 2、class选择器 .class属性值{ css代码 } *功能一:让相同的标签显示 不同的效果。 二:让不同的标签显示出相同的效果。 3、ID选择器 #id属性值{ css 代码 } --> div原创 2014-05-08 11:00:30 · 1059 阅读 · 0 评论 -
css之不能移动的广告条
Insert title hereimg { width: 200px; height: 200px; float: left;}#div_1 { width: 200px; heigth: 200px; border: 1px red solid; position: fixed; right: 10px; bottom: 10px}body { heigth原创 2014-05-08 13:33:49 · 728 阅读 · 0 评论