ie 8和ie 9之间有什么不同?调整很顺利 [英] What is different between ie 8 and ie 9 ? alignment goes worngly

查看:83
本文介绍了ie 8和ie 9之间有什么不同?调整很顺利的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai

请告诉我ie 8和ie9,我在VS2012开发网站,如果我在ie9中运行它可以工作,但如果我在ie8中运行相同的网页,那么对齐就会消失(狼吞虎咽)请告诉html有什么问题。这里我发布的简单代码就是 Rounded Corner Table ,这个工作在ie9,firefox和chrome但在ie8中圆角不来请尽快回复我



 <%@  < span class =code-attribute>   Page    语言  =  VB    AutoEventWireup   =  false    CodeFile   =  Defa.aspx.vb   继承  =  Defa   %>  

< !DOCTYPE html >

< html xmlns = http://www.w3.org/1999/xhtml >
< head runat = server >
< title > < / title >
< style type = text / css >
。< span class =code-leadattribute> rounded_edges
{
- moz-border-radius 15px;
border-radius 15px;
background-color #DFDFDF;
}
< / style >

< / head >
< body >
< 表格 id = form1 runat = server >
< div >
< style = overflow:auto;宽度:100% >
< tr >
< td style = width:2%; vertical-align:top; >
& nbsp; < span class =code-keyword>< / td >
< td 样式 = width:20%; vertical-align:top; >
& nbsp; < span class =code-keyword>< / td >
< td >
< id = TFTP width = 65 % runat < span class =code-keyword> = server class = rounded_edges style = display:block;高度:100px >
< tr > < td >
< asp:按钮 ID = Button1 runat < span class =code-keyword> = server 文本 = 按钮 / >
< br / >

< / td >
< span class =code-keyword>< / tr >
< / table >
< / td >
< / tr >
< / table >
< / div >
< / form >
< / body >
< / html >







Thanx

解决方案

html和IE 8或IE 9这样的浏览器都没有问题...问题在于你的css ...

作为设计师,我们必须开发一个兼容的网站所有主流浏览器,如chrome,firefox和IE8 ......








IE9将支持边框半径,但IE8和以前的版本不支持边框半径属性...如果你想在IE8和以前的版本中使用相同的曲线边缘,你必须使用图像该...

hai
Pls tell me about ie 8 and ie9,i am developing web site in VS2012 ,if i run in ie9 it works but if i run same web page in ie8 the alignment is goes off(worngly) pls tell what problem with html .Here i post simple code in that just Rounded Corner Table,this one work in ie9 ,firefox and chrome but in ie8 that Rounded corner not comes pls reply me asap

<%@ 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>
    <style type="text/css">
        .rounded_edges
        {
            -moz-border-radius: 15px;
            border-radius: 15px;
            background-color: #DFDFDF;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="overflow: auto; width: 100%">
            <tr>
                <td style="width: 2%; vertical-align: top;">
                    &nbsp;</td>
                <td style="width: 20%; vertical-align: top;">
                    &nbsp;</td>
                <td>
                    <table id="TFTP" width="65%"  runat="server" class="rounded_edges" style="display: block; height:100px">
                        <tr><td>
                            <asp:Button ID="Button1" runat="server" Text="Button" />
                                <br />

                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>




Thanx

解决方案

There is no problem with html and IE 8 or IE 9 such browsers...problem is in your css...
as a designer, we must be develop a site which is compatible with all major browsers such as chrome,firefox and IE8...


Hi,


IE9 will support border radius, but IE8 and previous versions are not supports border radius property... if you want same curved edges in IE8 and previous versions, you have to use images for that...


这篇关于ie 8和ie 9之间有什么不同?调整很顺利的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆