zoukankan
html css js c++ java
css+div文字底部对齐
<div id="hdright"><span class="m"><asp:Image ID="imglog" runat="server"/></span></div>
#hdright
{
}
{
float
:
left
;
height
:
40px
;
position
:
relative
;
}
#hdright span.m
{
}
{
position
:
absolute
;
bottom
:
0
}
1行3列样式:
<div id="firstrow">
<div id="hdleft"></div>
<div id="hdcenter"><img alt="taisol" src="img/taisol_logo.jpg" width="149" height="34" border="0" /></div>
<div id="hdright"><span class="m"><asp:Image ID="imglog" runat="server"/></span></div>
</div>#firstrow
{
}
{
width
:
100%
;
height
:
40px
;
background-color
:
#ffffff
;
clear
:
right
;
}
#hdleft
{
}
{
float
:
left
;
width
:
4%
;
}
#hdcenter
{
}
{
float
:
left
;
}
查看全文
相关阅读:
DNS bind9安装
DHCP服务器
RAID
LVM
box-pack
display:flex和display:box布局浏览器兼容性分析
Flex布局
几种常见的浏览器以及内核
display 垂直居中
font-family 定义的最后为什么要加一句sans-serif
原文地址:https://www.cnblogs.com/cnaspnet/p/1019673.html
最新文章
网页特殊符号HTML代码大全
Linux下安装Zookeeper
confluence6.3安装、破解
jira7.3/7.2安装、中文及破解
poj 3694 Network
Vijos P1325桐桐的糖果计划(有向图双连通分量)
洛谷 1503 鬼子进村 (set)
noip 2013 华容道
noip 2012 国王游戏(贪心+高精)
codevs 1746 贪吃的九头龙
热门文章
codevs 1689 搭建高塔
codevs 1997 守卫者的挑战
noip2014 飞扬的小鸟
codevs 2451 互不侵犯(状丫dp)
日志
mysql
KVM
备份
squid完全攻略
查路由途径 traceroute tracert
Copyright © 2011-2022 走看看