码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
IE6下DIV高度显示的Bug
E6下默认的字体尺寸大致在 12 - 14px 之间,当你试图定义一个高度小于这个默认值的 div 的时候, IE 会固执的认为这个层的高度不应该小于字体的行高。所以即使你用height: 6px;来定义了一个div的高度,实际在 IE 下显示的仍然是一个 12 px 左右高度的层。要解决这个问题,...
分类:其他好文   时间:2014-05-08 18:26:05    阅读次数:296
css清除浮动的两种方式(clearfix和clear)
最近总是在用浮动,这两种方式总是浮现在眼前,或者说去掉父级和同级浮动样式总在思考中。两种方式怎么写都在base.css中。在做瑞祥之旅的过程中,还是吃了一个大亏,就是清除浮动,不管是同级还是父级,都没清除浮动,导致经常会有div包不住子级的东西(经常一审查height=0)。现利用两例子来巩固下。 ...
分类:Web程序   时间:2014-05-08 18:18:14    阅读次数:388
WPF 获取屏幕分辨率(获取最大宽高)等
double x = SystemParameters.WorkArea.Width;//得到屏幕工作区域宽度double y = SystemParameters.WorkArea.Height;//得到屏幕工作区域高度double x1= SystemParameters.PrimaryScre...
分类:其他好文   时间:2014-05-08 15:40:31    阅读次数:517
父窗口window.showModalDialog传值 子窗口window.returnValue返回值
父窗口打开子窗口页面:var fatherWindow = document.all.dealReason;//想传的值win = window.showModalDialog(strUrl, fatherWindow, "dialogWidth=800px;dialogHeight=600px;"...
分类:Windows程序   时间:2014-05-08 15:25:59    阅读次数:402
IE6行高(line-height)失效
i am bug .bug{height:60px;line-height:60px;background-color:#999;} .bug span{display:inline-block;width:100px;height:20px;background-color:#ff0000;v.....
分类:其他好文   时间:2014-05-08 14:47:23    阅读次数:293
LeetCode Container With Most Water
class Solution{ public: int maxArea(vector& height) { int len = height.size(), low = 0, high = len -1 ; int maxArea = 0; ...
分类:其他好文   时间:2014-05-08 10:23:54    阅读次数:287
CSS 内边距与外边距
写项目的时候一直用到边距,今天用了一下午的时间好好研究了一下边距,发现CSS边距并非那么简单。这里就和大家分享一下:一、内边距 如下面代码 html: css: .test{ width:100px; height:100px; background-color:#fbc; pa...
分类:Web程序   时间:2014-05-08 09:55:43    阅读次数:1072
团队开发之绩效考核
按照以下绩效考核表,经过我们每个人对其他人进行打分,并且将这些分数进行汇总,平均算出每个人的最后得分。(其中杨世超同学因为特殊情况,不得不缺席部分会议及项目开发) 绩效考核表考核说明:(一)整体为100分,分为4部分(二)注重公平,公正,对事不对人(三)对所有被考评人的同一项目进行集中考评,...
分类:其他好文   时间:2014-05-08 09:26:40    阅读次数:252
解决phpcms V9缩略图模糊的方法
解决V9缩略图模糊/libs/classes/image.class.php注释掉elseimagecopyresized($thumbimg,$srcimg,0,0,$psrc_x,$psrc_y,$width,$height,$srcwidth,$srcheight);另将102行的$image...
分类:Web程序   时间:2014-05-08 07:43:20    阅读次数:391
Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST./** * Definition for binary tree * public class TreeN...
分类:其他好文   时间:2014-05-08 00:51:46    阅读次数:430
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!