摘要: <style type="text/css">*{ margin:0px auto; padding:0px;}#wai{ width:600px; height:500px;} .cp{ width:200px; height:30px; background-color:#4C4C4C; tex 阅读全文
posted @ 2017-12-24 15:21 FTHeD 阅读(154) 评论(0) 推荐(0) 编辑
摘要: //设置样式<style type="text/css">*{ margin:0px auto; padding:0px;}#wai{ width:1000px; height:600px;}#nei{ width:1000px; height:300px; margin-top:30px;}#le 阅读全文
posted @ 2017-12-24 15:12 FTHeD 阅读(503) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css">*{ margin:0px auto; padding:0px;}#wai{ width:100%; height:600px;}#jwk{ width:200px; height:15px; margin-top:50px; border:1px so 阅读全文
posted @ 2017-12-24 15:01 FTHeD 阅读(102) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> *{ margin:0px auto; padding:0px;}#wai{ width:100%; height:3000px;}#head{ width:100%; height:200px; background-color:#C30;}#dhl 阅读全文
posted @ 2017-12-24 14:52 FTHeD 阅读(147) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css">*{ margin:0px auto; padding:0px;}#wai{ width:100%; height:400px; overflow:hidden; margin-top:30px; }#tu1{ width:1200px; height: 阅读全文
posted @ 2017-12-20 16:15 FTHeD 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 当出现滚动条时让竖条没有: <body style='overflow:scroll;overflow-y:hidden'> </body> 让横条没有: <body style='overflow:scroll;overflow-x:hidden'> </body> 两个都去掉?更简单了 <bod 阅读全文
posted @ 2017-12-20 10:02 FTHeD 阅读(92) 评论(0) 推荐(0) 编辑
摘要: <div id="wai"><div id="gy"> //这是3个选项。点击选项可以实现下面三个div的转换。 <div class="gy_head" style="color:#999" guanlian="one">加入我们</div> <div class="gy_head" guanli 阅读全文
posted @ 2017-12-19 22:25 FTHeD 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 内容容器包括 <h1>--<h6> 标题标签,其中h1是最大号字体,h6是最小号的字体<p> 段落标签<div> 默认占一行,放任何内容<span> 大小取决于内容,放文字性的东西<ol><li> 有序列表<ul><li> 无序列表 常用标签 <a> 超链接标签两个要素:内容,指向href属性:超链 阅读全文
posted @ 2017-12-19 21:59 FTHeD 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 表格:展示数据<table> 代表表格width:表格宽度border:边框粗细cellspacing:单元格的边距cellpadding:单元格的间距<tr> 代表行<td> 代表单元格width:单元格的宽度align:水平对齐方式,left左 right右 center居中height:单元格 阅读全文
posted @ 2017-12-19 21:58 FTHeD 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 设置div宽度:width;高度:height; 设置背景色:background; 设置背景图片:background-image 对背景图片位置,大小进行设置也是用background里面的常用position(位置居中或靠下或左下,右上等等),size,repeat(图片有平铺情况的时候取消平 阅读全文
posted @ 2017-12-19 21:56 FTHeD 阅读(369) 评论(0) 推荐(0) 编辑