填写左,右在IE8中不支持? [英] Padding left,right are not support in IE8 ?
问题描述
Hai
<%@ 页 语言 = VB AutoEventWireup = false CodeFile = Defa.aspx.vb 继承 = < span class =code-keyword> Defa %>
< !DOCTYPE html >
< html xmlns = http://www.w3.org/1999/xhtml >
< head runat = 服务器 >
< title > < / title >
< / head >
< body >
< 表单 id = form1 runat = 服务器 >
< table width = 100% height = 670px id = 设置 < span class =code-attribute> runat = server style = background-color:#C0C0C0 >
< tr >
< < span class =code-leadattribute> td style = padding-removed 1%; padding-removed 1%; >
< ; table style < span class =code-keyword> = background-color:azure; 宽度:100% >
< tr >
< td >
< asp:按钮 ID = Button2 runat = server 文字 = 按钮 / > < / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< / form >
< / body >
< / html >
这个html设计在ie8中不起作用,请在视觉工作室中复制和过去并尝试在IE8中,这个HTML代码获得垂直滚动条,如果滚动左侧跳出形式,如果我在ie9中运行,firefox和chrome设计很好请尽快回复,我使用填充为1%,填充为1%,为td。如果我从td内的表宽度减去2%它将在ie8中工作,但是在ie9中,firefox和chrome右侧在td看起来像3%padding-right。
我的要求是剩下的和右边我想要小空间,在html表之间是显示的。
Thanx
Aravind
IE 8不支持圆角的CSS。要在IE 8中获得圆角效果,您需要使用圆角图像。如果您将谷歌用于圆角图像生成器,您将罚款许多链接,您可以通过它生成圆角图像
Hai
如果我将百分比更改为像素它也适用于ie 8。
根据Mahesh Bailwal的回复。
Thanx
Aravind
Hai
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Defa.aspx.vb" Inherits="Defa" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<table width="100%" height="670px" id="Settings" runat="server" style="background-color: #C0C0C0">
<tr>
<td style="padding-removed 1%; padding-removed 1%;">
<table style="background-color: azure; width: 100%">
<tr>
<td>
<asp:Button ID="Button2" runat="server" Text="Button" /></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
This html design is not work in ie8 ,pls just copy and past in visual studio and try in IE8,this html code get vertical scroll bar,and if scroll the leftside goes out form,if i run in ie9,firefox and chrome the design is well pls reply asap,i use padding left 1% and padding rigth 1% for td. And if i less 2% from table width inside the td it will work in ie8 ,but in ie9,firefox and chrome right side is looking like 3% padding-right in td.
My requirement is left and right side i want small space and in between html table is dispalyed.
Thanx
Aravind
IE 8 does not support CSS for rounded corners. To get rounded corner effect in IE 8 you need to use rounded corner image. If you will Google for "rounded corner image generator" you will fined many links through which you can generate rounded corner image
Hai
If i change percentage to pixel it will work in ie 8 also.
According to Mahesh Bailwal reply.
Thanx
Aravind
这篇关于填写左,右在IE8中不支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!