Jump to content
Sign in to follow this  
KyleMassacre

Looking for help with drop down menus

Recommended Posts

Im looking to make drop downs for my main menu links that will work with my existing CSS code can anyone help?

[CSS]#mid_r_content .menu_side ul.main_menu li a {

display: block;

width: 160px;

height: 32px;

text-indent: 35px;

line-height: 32px;

color: #ffffff;

text-decoration:none;

background: url(images/menu_link.png) no-repeat;

}

#mid_r_content .menu_side ul.main_menu li a:hover {

color: red;

background: url(images/menu_link_hover.png) no-repeat;[/CSS]

this is the code for my main menu links on the side bar

Share this post


Link to post
Share on other sites

Spudinski: never said it's the right solution in my opinion ;) Yet having it in CSS would work also for stupid people which disable JS....

Share this post


Link to post
Share on other sites
Spudinski: never said it's the right solution in my opinion ;) Yet having it in CSS would work also for stupid people which disable JS....

No, I'm just giving the OP advice from a personal perspective... CSS has it's advantages too.

Share this post


Link to post
Share on other sites

Thank both of you guys for your help with it, ill take a shot at it but no guarantees cause I know nothing of this sorta thing. I was just hoping that there was an easy type decoration that I can add the the existing css instead of added more stuff the file manager lol

Share this post


Link to post
Share on other sites

No there is no easy way to do it as by itself HTML / CSS doesn't know drop down menus. Yet there is loads of pre-made solutions.... So maybe time to learn a bit more? ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...