- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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
>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.