600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > html图片宽度高度等比例绽放 css图片自动绽放大小 左右 上下居中

html图片宽度高度等比例绽放 css图片自动绽放大小 左右 上下居中

时间:2023-02-01 10:48:36

相关推荐

html图片宽度高度等比例绽放 css图片自动绽放大小 左右 上下居中

无标题页

.pic

{

max-height:400px;

max-width:400px;

_width:expression("400px");

_height:expression((document.documentElement.clientHeight||document.body.clientHeight)>400?"400px":"");

/*_width:expression((document.documentElement.clientWidth||document.body.clientWidth)>(document.documentElement.clientHeight||document.body.clientHeight)?"400px":"");*/

/*_height:expression(document.documentElement.clientWidth>document.documentElement.clientHeight?(document.documentElement.clientHeight*(400*2-68)/document.documentElement.clientWidth+"px"):"400px");*/

overflow:hidden;

margin-left:-55px;

margin-Right:-55px;

padding:0px;

}

table

{

width:400px;

height:400px;

border:0px;

border-collapse:collapse;

margin:0px;

padding:0px;

}

tr

{

margin:0px;

padding:0px;

width:400px;

height:400px;

}

td

{

text-align:center;

margin:0px;

padding:0px;

width:400px;

height:400px;

}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。