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 3666072
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:50:12+00:00 2026-05-19T01:50:12+00:00

Suppose I have markup as setup http://jsfiddle.net/ADxne/ Currently drop downs look like To solve

  • 0

Suppose I have markup as setup

http://jsfiddle.net/ADxne/

Currently drop downs look like

To solve the 1st problem, I could add a margin-top to child ul’s to compensate for padding in list items http://jsfiddle.net/ADxne/1/

.horMenu > li > ul {
    margin-top: 10px;  
}

but for the 2nd problem without a fixed width list or list items, is there a way to position the sub menu to the right of the list item? Or is the only way to set a fixed width? http://jsfiddle.net/ADxne/2/

  • 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-19T01:50:13+00:00Added an answer on May 19, 2026 at 1:50 am

    you can use absolute positioning for .horMenu ul ul and then move it to right. Also add a fixed width. So with the above the .horMenu ul ul will be modified to the following:

    .horMenu ul ul {
        left: 80px;
        position: absolute;
        top: 0;
        width: 80px;
    }
    

    check a live example: http://jsfiddle.net/ADxne/3/

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

Sidebar

Related Questions

suppose I have a html markup like this: <div> <p> this is the parent
Suppose I have this html markup: <div id=wrapper> <pre class=highlight> $(function(){ // hide all
Suppose we have the name written in any none-latin letters - languages, like Arabic,
Suppose I have a grid of squared defined like so in a class: Square
Suppose this markup: <table class=table table-bordered align=center> No mather how many cells I have,
suppose I have a nested tables in html like this <table> <tr> <td><table> <tr>
I have an infinite scrolling gallery that uses markup like this (transformed through CSS
Suppose I have this markup: <div id=#titles> <p>Intro text <span>text text</span> text text</p> <ul>
Let's suppose you have a page with a relatively strict doctype and HTML markup
Suppose I have a container containing a list of items, so the markup looks

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.