Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hai
ASP.NET
<%@ 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
Posted
Updated 19-May-13 20:59pm
v2
Comments
Mahesh Bailwal 20-May-13 3:11am    
Can you please use pixel(px) instead of percentage (%),check if it help.
Aravindba 20-May-13 3:33am    
Thank you Mr.Mahesh it will work.i have another problem in design.ie8 not support rounded corner css,without use background image for html table i need rounded corner and it will work on all browser like ie8,ie9,fire fox and chrome can u reply me pls
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
 
Share this answer
 
Hai
If i change percentage to pixel it will work in ie 8 also.
According to Mahesh Bailwal reply.

Thanx
Aravind
 
Share this answer
 
v3

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