Coding [help Rollover Menu On Petpage Problem]
| Sheep |
|

^Pervert ・ω・

Group: Members
Posts: 1,711
Member No.: 993
Joined: 20-July 06

|
My Friend needs help! So here it is:
Alright so the problem is my rollover menu. Under 'nested' I cant get the code to do two things
1. cascade downwards isntead of up 2. put more than two buttons or it'll overlap
here is what I want it to be like

I checked my tags, I fiddled with the code for a few hours, and I'm not an expert and well... I want figure it out.
the derpy images for the background of the menu lol you can ignore those it's ugly so I know ehere everything is OTL
but yeah...
I cant get it to... work right. Any solutions? feel free to decipher my code please. I'm no good with coding so there might be a mistake. PetPage
--------------------
Tell them now your pleasure's set upon slow-release 【✖|Deviantart】
|
|
|
| Dodoro |
|

I Am Your Neighbor

Group: Board Moderators
Posts: 3,407
Member No.: 4,844
Joined: 23-May 07

|
| CODE | <style> #navigation { background: url("http://images.neopets.com/neoboards/boardIcons/fanclubs.png"); height: auto; width: 100px; margin-top: 10px; margin-left: 500px; border: 1px solid lime; } #button { font-family: lucida console; width: 100px; float: left; text-align: center; overflow: visible; height: 16px; border-bottom: 1px solid red; font-size: 8pt; letter-spacing: 2; } #button:hover { background: url("http://images.neopets.com/images/htmltonu.gif"); color: #7CE7FA; } #button ul { display: none; margin-top: 4px !important; margin-left: -2px; width: 100px; background: url("http://pets.neopets.com/cpn/Maisy_cow/1/2.png"); color: black !important; border-right: 1px solid green; border-left: 1px solid cyan; } #button:hover ul { display: block; padding-left: 0px; } #button li { list-style: none; width: 100px; background: url("http://images.neopets.com/neoboards/boardIcons/avatars.png"); height: 16px; color: black; border-bottom: 1px solid black; } #button li:hover { color: #E5FA7C; background: url("http://images.neopets.com/neoboards/boardIcons/evil.png"); cursor: default; } .inner li { list-style: square; margin-left: 0px !important; } .strong li { display: none; color: red !important; margin-left: 102px; top: -17px; } .strong:hover li { display: block !important; } .strong li:hover { color: lime !important; } .top { border-top: 1px solid orange; } .inner { width: 450px; height: 650px; overflow: auto; } div:hover, div:active { cursor: default; } tbody, .sf { display: none; } </style> <div id="navigation" style="position: absolute;">
<div id="button"> C <ul> <li class="top">SECOND C</li> <li>idk</li> <li>idk</li> <li class="strong"> NESTED <ul> <li id="button" style="position:relative;"> CCC HI </li> <li id="button" style="position:relative;">Why is it doing this</li> <li id="button" style="position:relative;">UGH WHY ME</li> </ul> </li> </ul> </div>
</div> |
Things that were changed:
| QUOTE | .strong li { display: none; color: red !important; margin-left: 102px; top: -17px; } |
| QUOTE | <li id="button" style="position:relative;"> CCC HI </li> <li id="button" style="position:relative;">Why is it doing this</li> <li id="button" style="position:relative;">UGH WHY ME</li> |
That's it.
--------------------
|
|
|
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
Neopets Characters © 2000-2011 Neopets, Inc.
All Rights Reserved. Used With Permission
All other content © NeoPound.com
Banner and forum skin coded by Dorothy. Buttons by Ophelia.