WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Help with Dropdown Menu Empty Help with Dropdown Menu Fri Jul 01, 2011 10:34 pm

Drogba921


Registered Member
Registered Member
Hey guys... I'm currently developing a new version of my site:


And i've hit a problem.

I need to get the button: Game Pages - to drop down and show the list: Action, Adventure, Arcade, Puzzle, Shooting, Sports... But I can't figure out how. Can anyone help me?

Here's my CSS:

Code:

#nav {
    width: 940px;
    height: 60px;
    margin: -20px auto 0px auto;
}

ul#navigation {   
    width:1000px;
    margin-left: 0px;
    list-style:none;
    height:57px;
}

ul#navigation li {
    display:inline;
   
   
}

ul#navigation li a {
    height:57px;
    float: left;
    color: #ffffff;
    font-family: "Century Gothic", Arial, Sans-Serif;
    text-shadow: 0.1em 0.1em 0.2em black;
    text-decoration:none;
    text-align: center;
    margin-right: -10px;
}

ul#navigation  li a span {
    display:block;
    text-align: center;
    padding: 12px 0px 10px 0px;
}

ul#navigation li#navigation-1 a {
    width:155px;
    background:url) no-repeat 0px 0;
}

ul#navigation li#navigation-1 a:active,
ul#navigation li#navigation-1 a:hover {
    background-position:0px -57px;
}
ul#navigation li#navigation-1 a.current {
    background-position:0px 0px -57px;
}

Here's my HTML:

Code:
<div id="nav">
    <ul id="navigation">
        <li id="navigation-1"><a href="#" title="Lorem Ipsum"><span>Home</span></a></li>
        <li id="navigation-1"><a href="#" title="Lorem Ipsum"><span>About</span></a></li>
        <li id="navigation-1"><a href="#" title="Lorem Ipsum"><span>Contact</span></a></li>
        <li id="navigation-1"><a href="#" title="Lorem Ipsum"><span>Game Pages</span></a></li>
        <li id="navigation-1"><a href="#" title="Lorem Ipsum"><span>High Scores</span></a></li>
        <li id="navigation-1"><a href="#" title="Lorem Ipsum"><span>Advertising</span></a></li>
    </ul>

</div>



Last edited by Drogba921 on Mon Jan 16, 2012 9:25 am; edited 1 time in total

http://www.codinghelp.org

2Help with Dropdown Menu Empty Re: Help with Dropdown Menu Sun Jul 03, 2011 4:31 am

Drogba921


Registered Member
Registered Member
Bump

http://www.codinghelp.org

3Help with Dropdown Menu Empty Re: Help with Dropdown Menu Tue Jul 05, 2011 9:08 pm

Drogba921


Registered Member
Registered Member
bump

http://www.codinghelp.org

4Help with Dropdown Menu Empty Re: Help with Dropdown Menu Thu Jul 07, 2011 3:32 am

hoodedwarbler12

hoodedwarbler12
Registered Member
Registered Member
You mean another dropdown from that first one? *Does research*

http://www.wackyswebkinznewz.com/

5Help with Dropdown Menu Empty Re: Help with Dropdown Menu Fri Jul 08, 2011 3:06 am

Drogba921


Registered Member
Registered Member
I just want a menu to drop down

http://www.codinghelp.org

6Help with Dropdown Menu Empty Re: Help with Dropdown Menu Fri Jul 08, 2011 3:27 am

hoodedwarbler12

hoodedwarbler12
Registered Member
Registered Member
Oh, well that's easy.
Code:
<span class="genmed" style="line-height: 150%;"> <a href="portal.htm">Portal</a><br>
 <a href="forum.htm">Forum</a><br>
 <a href="memberlist.forum" rel="nofollow">Members</a><br>
 <a href="faq.forum">FAQ</a><br>
 <a href="search.forum">Search</a><br></span>
Replace with your links.

http://www.wackyswebkinznewz.com/

7Help with Dropdown Menu Empty Re: Help with Dropdown Menu Fri Jul 15, 2011 2:40 am

Drogba921


Registered Member
Registered Member
That's not gonna make the links drop down Wink

http://www.codinghelp.org

8Help with Dropdown Menu Empty Re: Help with Dropdown Menu Fri Jul 15, 2011 4:15 am

Unknown Data

Unknown Data
Registered Member
Registered Member
Have you tried something like this? Smile
Code:
<form>
  <select onchange="location = this.options[this.selectedIndex].value;">
      <option value="LINK HERE">NAME FOR LINK HERE
  </select>
</form>

http://woops.dk

9Help with Dropdown Menu Empty Re: Help with Dropdown Menu Sun Sep 04, 2011 4:36 pm

Jackery


Registered Member
Registered Member
Code:
<style>

#holder {list-style-type: none; padding-left: 3px; padding-right: 3px; padding-top: 2px;}

#holder a:hover {color:#c00;background:#ddd;}

#holder {width:100px; line-height:18px; height:20px; overflow:hidden; text-align:center; z-index:100; background-color:#eee; top: 0; left: 253; position: absolute; color: black; }

#holder:hover {height:140px; cursor:pointer; background:#eee; color: darkblue;  }

#holder a {display:block; width:100%; line-height:18px; color:#000; text-decoration:none; padding-bottom: 2px}


</style>
<div id = "navbar">

<ul id="holder"><span style = "inner">Games<br /><hr/>

<a href="#forum">Forum</a>

<a href="#">Stratergy</a>

<a href="#">Puzzle</a>

<a href="#">Shooting</a>

<a href="#">Sports</a>


</div>

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum