Click here to Skip to main content
15,891,810 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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

XML
<%@ 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
Posted
Updated 9-May-13 20:48pm
v3
Comments
Thomas Daniels 9-May-13 3:29am    
Please post your HTML code, so we can see what's wrong.
[no name] 9-May-13 4:00am    
please improve your question and change the title of it..it's not matching according to your need...

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...
 
Share this answer
 
Comments
LaxmikantYadav 10-May-13 2:37am    
My +5 :)
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...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900