Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The asp menus displayed well in firefox , but in internet explorer it doesn't. I am giving the link here:

http://n.fbr.gov.pk/defaultBK.aspx[^]

error:
you can see , that in main menu extra shed is being showed whhttp://www.codeproject.com/Questions/ask.aspxile in rest menu it doesn't.
Posted
Updated 7-Jun-11 8:57am
v4
Comments
R. Giskard Reventlov 7-Jun-11 11:23am    
Not entirely clear what you are saying but this looks the same to me in IE6 and FF.
Monjurul Habib 7-Jun-11 16:26pm    
All are same on FF, IE7 and IE8.
Monjurul Habib 7-Jun-11 16:28pm    
Please mention the browser version, it is very important to re-generate any browser issue. :)

1 solution

You should tag this question with CSS, since this is a style problem.

I can reproduce the behavior you described (Firefox and IE9) and looked in you css and htm file.

One thing I notice is that you have lots of nested tables and divs. This makes your code very complex and you have lots of elements that influence the way things are diplayed.

Firefox and Internet Explorer have a different interpretation on style settings. This explains the difference.

You can 'fix' the menu by removing in you htm file in the style section in .Master1_MnuLef_4 and .Master1_Menu4_4:

PADDING-RIGHT: 40px;

But this creates another problem with the triangles.

I cannot solve this for you, but my advice: try to simplify your code and remove all nested tables and divs in tables.

In fact you should use tables only for presenting data in table format. Use divs and (unsorted) lists for menu's.
 
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