随笔分类 -  关于css的学习

摘要:1:How do I add borders to images? 怎样给图片增加边框img {border: 1px solid #000000;}2:How do I use CSS to remove the blue border around my navigation images? 去掉图片链接时的蓝色边框img {border: none;}3:How do I set a background image for my page using CSS?body {font: 0.9em Verdana, Geneva, Arial, Helvetica, sans-serif; 阅读全文
posted @ 2012-02-23 16:53 yikeshu 阅读(236) 评论(0) 推荐(0)
摘要:应用样式的方式:1:lnline Styles<p style="font-family: sans-serif; color: #3366CC;">Amazingly few discotheques provide jukeboxes.</p>2:Embedded Styles<style type="text/css">CSS Styles… </style>3:External Style Sheets<link rel="stylesheet" type="te 阅读全文
posted @ 2012-02-23 15:23 yikeshu 阅读(660) 评论(1) 推荐(0)
摘要:样式表是一组格式化的指令,能同时控制众多HTML页面的外观,css是定义样式的语言。 学习css网站:http://www.webstyles-chinese.info/Style/CSS/ 内部样式直接放在网页中<div style="color:green"></div> 外部样式:<link rel="stylesheet" type="text/css" href="styles.css"/> 字体的大小统一用pt,尺寸统一用像素。 当用图像链接时想去掉边框 请设置bor 阅读全文
posted @ 2012-02-16 10:15 yikeshu 阅读(332) 评论(0) 推荐(0)