Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I make website i suffering from problem with design when i open my website in Mozila firefox everything is ok when i open in IE the some menu item in website is mix up. how can i solve this.
Thanks.
Posted

 
Share this answer
 
Comments
[no name] 9-Jul-11 2:37am    
Nice Links. My 5.
I have some tips for you:
- Look at your css, which element is breaking
- Use those css, which support all browsers
- It would be better if you can post your menu code and CSS
- There are Web Developer tools are available for IE and Firefox so online you can inspect in your element and see the differences

Thanks,
 
Share this answer
 
Comments
raviprajapat 8-Jul-11 13:44pm    
Menu item Code:-
<div id="menu" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlHome" runat="server" NavigateUrl="Home.aspx" CssClass="menulinkdefault">Home
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlAbout" runat="server" NavigateUrl="About.aspx" CssClass="menulinkdefault">About
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlEngineering" runat="server" NavigateUrl="Engineering.aspx" CssClass="menulinkdefault">Engineering
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlSoftware" runat="server" NavigateUrl="Software.aspx" CssClass="menulinkdefault">Software
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlPermits" runat="server" NavigateUrl="Permits.aspx" CssClass="menulinkdefault">Permits/Logistics
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlRecentProjects" runat="server" NavigateUrl="RecentProjects.aspx"
CssClass="menulinkdefault">Recent Projects
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlContact" runat="server" NavigateUrl="Contacts.aspx" CssClass="menulinkdefault">Contact
</td>
<td style="padding: 0 5px 0 0px;">
<asp:HyperLink ID="hlManager" runat="server" NavigateUrl="JobStatus.aspx" CssClass="menulinkdefault">Manager
</td>
<td>
<asp:HyperLink ID="hlInvoice" runat="server" NavigateUrl="InvoiceDetail.aspx" CssClass="menulinkdefault">Invoice
</td>

</tr>
</table>
</div>


Css Class:-

<style type="text/css">

.menulinkdefault
{
background-color: #414141;
color: #FFF;
display: block;
float: left;
height: 18px;
text-decoration: none;
padding: 5px 9px 2px 9px;
border: 1px solid;
text-transform: uppercase;
font-size: 88%;
border-color: #787878;
}
</style>

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