码迷,mamicode.com
首页 >  
搜索关键字:margin    ( 11204个结果
html搜索框实现及IE浏览器的兼容性
soso body{ background-color:#333; margin:0 auto;}    .div{ background-image:url(DSC00004.JPG); height:690px; width:1228px; margin:0 auto;}        form{ float:left; background-colo...
分类:Web程序   时间:2015-03-22 09:20:44    阅读次数:278
Machine Learning - XII. Support Vector Machines (Week 7)
Optimization Objective Large Margin Intuition Mathematics Behind Large Margin Classification (Optional) Kernels...
分类:系统相关   时间:2015-03-21 23:02:31    阅读次数:606
CSS3选择非第一个子元素
有时候我们需要用CSS选择非第一个子元素,例如下面这样的HTML,希望让两个span之间间隔一定的距离,但又不希望简单的给每个span设置margin-right(会导致最后一个span也有margin-right,可能影响之后元素的排版)。 这时如果能排除第一个元素,并给其他元素设置margin-left属性,就能实现比较好的效果了。 可以利用no...
分类:Web程序   时间:2015-03-21 20:02:29    阅读次数:23283
HTML - 根据分辨率让网页地步不留空
html, body{ margin:0; padding:0; } .top{ width:100%; height:36px; background-color: #ff0000; z-index:9999; } .bottom{ width:100%; height: 36px;...
分类:Web程序   时间:2015-03-20 18:38:57    阅读次数:180
css3继承
不可继承的:display、margin、border、padding、background、height、min-height、max- height、width、min-width、max-width、overflow、position、left、right、top、 bottom、z-inde...
分类:Web程序   时间:2015-03-20 18:31:45    阅读次数:215
CSS书写规范及顺序
CSS书写顺序1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, color- text...
分类:Web程序   时间:2015-03-20 17:49:59    阅读次数:140
九宫格
-(void)viewDidLoad{ //列数 int columns = 3; //每个图片之间的间距 = (控制器view的宽度 - 列数 * 图片的宽度)/ (列数 + 1) CGFloat margin = (self.view.frame.size.width - columns...
分类:其他好文   时间:2015-03-20 15:50:07    阅读次数:147
Web前端开发规范收集
在Web开发中,后端跟前端配合很容易出现问题,这时我们就需要一些规则来约束前端随意的编写。 CSS编程规范 1.      属性书写基本顺序 a.      先位置属性(position, top, right, z-index, display, float等) b.      大小(width, height, padding, margin) c.      文字(font...
分类:Web程序   时间:2015-03-20 14:31:06    阅读次数:256
div,css用ulli制作表格
1.第一种样式#news { width:500px; }#news li{ list-style-type:none; float:left; width:100px; text-align:center; background:#ccc; margin-right:2px; margin-bot...
分类:Web程序   时间:2015-03-20 10:45:17    阅读次数:247
在一张图片上添加删除的照片
1、css样式 .photoX{ margin: 5px; width: 300px; height: 200px; border:1px solid #5df; } .rubbish{ width:32px; height:32px; position:absolute; z-index: 10; left: 270px;...
分类:其他好文   时间:2015-03-19 20:22:48    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!