Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    63
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Change a static menu button to drop-down...

    Hi. I have a row of menu buttons on my church's website, one of which links to a page with multiple links. I'd like to change that one button to display a drop-down list. Is there code I can add to make that work?

    http://cbcwalbrook.org/

    Thank you.

    mccd

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,725
    Thanks
    41
    Thanked 191 Times in 190 Posts

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #3
    New Coder
    Join Date
    Dec 2005
    Posts
    63
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Alykins, thanks for the link. However, I was wondering if it was possible to simply add code to the existing style sheet to modify just that one button.

    mccd

  • #4
    New Coder
    Join Date
    Dec 2005
    Posts
    63
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I tried adding the following code to the Archives tab...

    Code:
    <div id="menu">
    		<ul>
    			<li id="button1"><a href="http://cbcwalbrook.org/" title="">Home</a></li>
    			<li id="button2"><a href="/doctrine.html" title="">Doctrine</a></li>
    			<li id="button3"><a href="/history.html" title="">History</a></li>
    			<li id="button4"><a href="/ministries.html" title="">Ministries</a></li>
    			<li id="button5"><a href="/archives.html" title="">Archives</a>
    				<ul>
    					<li><a href="/videos.html" title="">Videos</a></li>
    					<li><a href="/pictures.html" title="">Pictures</a></li>
    				</ul></li>
    		</ul>
    	</div>
    ... but all that did was create additional buttons. Am I pursuing an impossible goal using CSS?

    mccd


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •