Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have created simple dropdown menu with css placed menu in div and i have set div width to 100% its working fine in IE but not in firefox that is width getting changed according to menu.
How to solve this. Thanks in advance.

This is my coding
CSS
div
	{	width: 100%;		
		margin: 10px 0 ;
		background: #324143;
		padding: 0px 0px;
		}
Posted

1 solution

Try following


CSS
div
    {   width: 100%;
        margin: 10px 0 ;
        background: #324143;
        padding: 0px 0px;
        position:relative
        }
 
Share this answer
 
Comments
Member 9762654 31-May-13 5:26am    
no not working
Vipin kumar.P 3-Jun-13 3:19am    
can you put your dropdown menu code, so that we can find the exit problem with the menu

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