skooda Posted August 9, 2012 Posted August 9, 2012 Do anyone know how to solve this.How do I keep my mainmenu to stay at the top? Example say if im on the mailbox and I have to many msgs the mainmenu will go down to the bottom. It do the same to announcement,explore,streets,etc The code is <div class="menu_new2"> <ul> <li><a class="link1" href="index.php">Home</a></li> <li><a class="link1" href="pets.php">Pets</a></li> <li><a class="link1" href="inventory.php">Inventory</a></li> <li><a class="link1" href="events.php">Events ('.$ec['new_events'].')</a></li> <li><a class="link1" href="mailbox.php">Mailbox ('.$mc['new_mail'].') </a></li> <li><a class="link1" href="kidnapped.php">View Ransom (0)</a></li> <li><a href="polling.php"><font color=yellow><b>Polls</b></font></a></li> <li><a class="link1" href="announcements.php">Announcements ('.$ann['new_announcements'].')</a></li> <li><a class="link1" href="explore.php">Explore</a></li> <li><a class="link1" href="crimes.php">Crimes</a></li> <li><a class="link1" href="job.php">Your Job</a></li> <li><a class="link1" href="properties.php">My Property</a></li> <li><a class="link1" href="business_home.php">Your Business</a></li> <li><a class="link1" href="education.php">Local School</a></li> <li><a class="link1" href="hospital.php">Hospital</a></li> <li><a class="link1" href="jail.php">Jail</a></li> <li><a class="link1" href="search.php">Search</a></li> <li><a class="link1" href="preferences.php">Settings</a></li> <li><a class="link1" href="encyclopedia.php">Item Guide</a></li> <li><a class="link1" href="voting.php"><font color=Turquoise ><b>Vote</b></font></a></li> <li><a href="iMpoRtAnT/staff.php"><font color=yellow><b>STAFF</b></font></a></li> </ul> </div> </div> </div> </td><td > </td> <td width="100%" valign="top"><div id="body_container2"> <div class="left_container"> <div class="menu_new2"> '; Quote
KyleMassacre Posted August 10, 2012 Posted August 10, 2012 probably has something to do with your css Quote
skooda Posted August 11, 2012 Author Posted August 11, 2012 Heres a piece of the css [CSS]#body_container2{width:715px;margin-top:28px;} #body_container2 .left_container .menu_new2{width:715px; background:#141414; border:#1f1f1f solid 1px; padding:13px 0 15px 0; margin-top:0px;}[/CSS] Quote
rulerofzu Posted August 11, 2012 Posted August 11, 2012 floats are handy. I would like an icecream float right now! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.