摘要: 1、背景与前景 /*背景色,样式表优先级高*/ background-image:url(路径); /*设置背景图片(默认)*/ background-attachment:fixed; /*背景是固定的,不随字体滚动*/ background-attachment:scroll; /*背景随字体滚 阅读全文
posted @ 2016-07-27 22:01 小飛 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 1、表格 <table></table> 表格 width:宽度。可以用像素或百分比表示。常用960像素。 border:边框。常用值0。 cellpadding:内容跟单元格边框的边距。常用值0。 cellspacing:单元格之间的间距。常用值0。 align:对齐方式。 bgcolor:背景色 阅读全文
posted @ 2016-07-27 21:49 小飛 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <html> --开始标签 <head> 网页上的控制信息 <title>页面标题</title> </head> <body> 页面显示的内容 </body> </html> --结束标签 <!--注释内容--> 注释 body的属性: bgcolor 页面背景色 text 文字颜色 topmar 阅读全文
posted @ 2016-07-27 21:45 小飛 阅读(152) 评论(0) 推荐(0) 编辑