Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6753791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:12:13+00:00 2026-05-26T13:12:13+00:00

currently i have a hover box appearing whenever i mouse over TITLE, FORMAT. html

  • 0

currently i have a hover box appearing whenever i mouse over “TITLE”, “FORMAT”.

html code:

<div id="sortmenusize">
    <ul id="sortmenu">
        <li>Refine By:</li>
         <li>TITLE
            <ul>
                <li><a href="alphasort.php?sort=A">A</a></li>
                <li><a href="alphasort.php?sort=B">B</a></li>
                <li><a href="alphasort.php?sort=C">C</a></li>
                    </ul>
         </li>
         <li>FORMAT
                    <ul>
                            <li>item 1</li>
                            <li>item 2</li>
         </li>
    </ul>
</div>

css:

#sortmenusize{
width:80%;
margin:0 auto;
}

#sortmenu{
    list-style-type: none;
}
#sortmenu > li:hover ul {
 display: inline;}

#sortmenu > li {
        float: left;
        padding-left:0;
        margin-left: -40px; 
        margin-right: 60px;
        font-family:"Georgia";
}
#sortmenu > li > ul {
        float:left;
        display: none;
        top:210px;
        left: 280px;
        position: absolute; border-style:solid; padding-left:10px; padding-right:10px;
        border-width:1px; background-color:white;list-style-type: none;
        }

#sortmenu > li > ul li {
  float:left;
    padding-top:10px;
    padding-bottom:10px;
  margin:0 10px; // Or whatever margin you want
}

I have a question, how do i always make this box appear right below “TITLE” and “FORMAT”?
This is because i am currently doing top:xxx px; and left: xxx px; which would change whenever i resize my internet browser.

EDIT 1:
i solved my problem using:

#sortmenu > li {position:relative;}

however, under “TITLE” it is appearing A – Z vertically. how can i make the A, B, C, D, E in horizontal row and F, G, H, I, J in another horizontal row so it should look like this when i hover over “TITLE”

A B C D E
F G H I J
K L M N O
P Q R S T
...
...
...     Z
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:12:14+00:00Added an answer on May 26, 2026 at 1:12 pm

    if add a rule to make the sortmenu list items position relative, the absolute positioning of your hovers will be relative to the list item

    #sortmenu > li {position:relative;}
    

    a quick js fiddle example : http://jsfiddle.net/5vFpc/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I currently have span that displays over an image on hover, however I
I have a code that goes like this on HTML: <div class=blog_highlight> <ul class=calendar>
We currently have code like this: Dim xDoc = XDocument.Load(myXMLFilePath) The only way we
I have a form with one text box that is part of a div
I currently have a div on my page that I have given a background
I currently have something like this: $(.jtable tbody td).not(.DeleteLicense).hover( How can I use delegate
I currently have a CSS <ul><li> dropdown menu that uses the following code. Unfortunately
I currently have the following CSS: a.enabled:hover { background-color: #f9f9f9; border: 1px solid #ddd;
I have this code, which shows the tooltip within a box with the id
I currently have a html table (with 2 columns) and I am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.