一个200*200的div在不同分辨率屏幕上下左右居中,用css实现
<style> /*一个200*200的div在不同分辨率屏幕上下左右居中,用css实现*/ div { background: red; position:absolute; width:200px; height:200px; top:50%; left:50%; margin-left:-50px; height:-50px; z-index:1000; }</style>
上完课拿到想要的offer了!!谢谢大拿老师!
{ position:fixed;
left:0;
right:0;
top:0;
bottom:0;
margin:auto;
}
#container{ width:200px; height:200px; position: absolute; top:50%; left:50%; margin-top:-50px; margin-left: -50px; background-color: #9ACD32; }
一棵具有n个结点的二叉树,若它有m个叶子结点,则该二叉树中度为1的结点个数是多少?
某公园内有个奇怪的摊主小周,他只在星期一、星期二、星期三、星期五和星期六工作,而且他只出售4种商品:玩具汽车、充气气球、橡皮泥和遥控飞机。<
请实现KMP算法?
请你谈谈Cookie的弊端
上完课拿到想要的offer了!!谢谢大拿老师!
{ position:fixed;
left:0;
right:0;
top:0;
bottom:0;
margin:auto;
}
#container{
width:200px;
height:200px;
position: absolute;
top:50%;
left:50%;
margin-top:-50px;
margin-left: -50px;
background-color: #9ACD32;
}