plz guys help me. I have a horizontal menu and vertical menu. Both menus are having styles for them. But when i placed them in the same page one is taking another one's styles. How to get both horizontal and vertical menus in same page ?
It be helpful to provide a link to your site or put a reduced version in Codepen
The simple answer is to give them different IDs or individual classes and target them through the CSS.
I dont know how to give different ids plz help me with that. link is http://localhost/trendsnew/switches1.php. The menu iam trying to place is http://trendselectricalsolutions.com/vertical_popup_menu/. plz help me. thnq
sry link is http://www.trendselectricalsolutions.com/switches1.php
I don't know how to give different ids
Seriously? I doubt that.
Change your id="nav" (HTML) into whatever you want (without spaces) and in the CSS change all of the #nav to whatever your new id="" is .
Pretty simple and straight forward.
This will help with selectors: https://developer.mozilla.org/en-US/docs/CSS/Getting_Started/Selectors
sorry. I cant understand what u r trying to tell me. Plz provide me an example so that i can find it useful. thnx alot.
Here @rahiem: http://codepen.io/srig99/pen/vCBkl. Tell me if you find this useful! Let me know if you need anything else!
plz guys help me. I have a horizontal menu and vertical menu. Both menus are having styles for them. But when i placed them in the same page one is taking another one's styles. How to get both horizontal and vertical menus in same page ?
It be helpful to provide a link to your site or put a reduced version in Codepen
The simple answer is to give them different IDs or individual classes and target them through the CSS.
I dont know how to give different ids plz help me with that. link is http://localhost/trendsnew/switches1.php. The menu iam trying to place is http://trendselectricalsolutions.com/vertical_popup_menu/. plz help me. thnq
sry link is http://www.trendselectricalsolutions.com/switches1.php
Seriously? I doubt that.
Change your id="nav" (HTML) into whatever you want (without spaces) and in the CSS change all of the #nav to whatever your new id="" is .
Pretty simple and straight forward.
This will help with selectors: https://developer.mozilla.org/en-US/docs/CSS/Getting_Started/Selectors
sorry. I cant understand what u r trying to tell me. Plz provide me an example so that i can find it useful. thnx alot.
Here @rahiem: http://codepen.io/srig99/pen/vCBkl. Tell me if you find this useful! Let me know if you need anything else!