京东商城首页标价定位小横条首页导航的下拉1、京东商城首页标价定位.p-img{ height: 130px;}.p-price{ margin:-28px 0 0 74px;}.price{ background-color: #ff0000; color: #fff; padding: 2px 5...
分类:
其他好文 时间:
2015-01-15 12:28:42
阅读次数:
146
PresidentofIranMahmoud·AhmadiNejadtoldAmericamedia,chaussureslouboutinpascher,IranwillreleasetwojailedforespionageUSAmaleyouth.
AhmadiNejadtoldUSANBCreporter,cheapnfljerseys,twoAmericanswillbereleased"intwodays".TheNationalBroadcastingCompanyisscheduledfor..
分类:
Web程序 时间:
2015-01-15 11:09:37
阅读次数:
153
HTML1 margin paddingCSS1、 在进行float设置之后会影响后面的div或者其他标签的float属性,这时的解决方法是在后面加一个div这行代码纯粹是为了消除float属性
分类:
Web程序 时间:
2015-01-15 01:45:56
阅读次数:
255
实现效果:
代码:
*
{
margin:0;
padding:0;
}
#container
{
width:70%;
background-color:Red;
margin:0px auto...
分类:
Web程序 时间:
2015-01-14 22:56:58
阅读次数:
256
有个容器要上下左右留点空间,稍稍留点就行,于是选择了margin属性。随手写了:margin:5%一跑起来, 整个界面是乱七八糟。仔细一查,margin的定义里写着:Arelative to thewidthof the containing block. Negative values are a...
分类:
其他好文 时间:
2015-01-13 14:16:41
阅读次数:
232
分页功能在做项目的过程中是常常用到的,下面是我常用的一款分页效果:1、分页的CSS样式(page.css) 1 #setpage { 2 margin: 15px auto; 3 text-align: center; 4 } 5 #setpage a:link,#setpage a...
分类:
Web程序 时间:
2015-01-13 12:12:27
阅读次数:
237
导航栏li竖线“|”的写法;1、li加boder-right(利用margin-right:-1px;隐去最右边的border);2、直接在htm写|;3、利用|;4、直接切图,利用background;
分类:
Web程序 时间:
2015-01-12 22:26:19
阅读次数:
660
悦美 .swipe { margin:auto; position:relative; overflow:hidden; visibi...
分类:
Web程序 时间:
2015-01-12 19:12:45
阅读次数:
505
我常用的重置样式表reset.css
/*===============基础信息================*/
*{border: 0;padding: 0;margin: 0;}
table {border-collapse:collapse;border-spacing:0;}
ol,ul {list-style:none;}
h1,h2,h3,h4,h5,h6 {font-si...
分类:
Web程序 时间:
2015-01-12 16:45:19
阅读次数:
158
CSS Reset 是革命党,CSS Reset 里最激进那一派提倡不管你小子有用没用,通通给我脱了那身衣服,凭什么你 body 出生就穿一圈 margin,凭什么你姓 h 的比别人吃得胖,凭什么你 ul 戴一胳膊珠子。于是 *{margin:0;}
等等运动,把人家全拍扁了。看似是众生平等了,实则是浪费了资源又占不到便宜,有求于人家的时候还得贱贱地给加回去,实在需要人家的默认样式了怎么办?人...
分类:
其他好文 时间:
2015-01-12 16:35:44
阅读次数:
137