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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:19:52+00:00 2026-06-16T03:19:52+00:00

The following JS Fiddle demonstrates my problem: http://jsfiddle.net/pUBuq/ When hovering over the menu, I

  • 0

The following JS Fiddle demonstrates my problem: http://jsfiddle.net/pUBuq/

When hovering over the menu, I wish for the menu to display like this:

Header A    Header B
--------    ---------
Link 1A     Link 1B
Link 2A     Link 2B

In stead it displays like this:

Header A
Header B
Link 1A
Link 2A
Link 1B
Link 2B

Here’s the markup:

<ul id="site-nav">  
    <li>
        <a class="menu" href="#">Menu 1</a>
        <div class="site-nav-menu">
            <nav>
                <h3>Header A</h3>
                <h3>Header B</h3>
                <ul>
                    <li><a href="#">Link 1a</a></li>
                    <li><a href="#">Link 2a</a></li>
                </ul>
                <ul>
                    <li><a href="#">Link 1b</a></li>
                    <li><a href="#">Link 2b</a></li>
                </ul>
            </nav>
        </div>
    </li>  
</ul> 

I’ve tried to float the <h3> headers and give them the same width as the link elements but nothing seems to float. The CSS is a bit long and probably best viewed in the fiddle: http://jsfiddle.net/pUBuq/

I’ve been testing this in FF7 and would greatly appreciate any help figuring out where I’m going wrong.

  • 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-06-16T03:19:54+00:00Added an answer on June 16, 2026 at 3:19 am

    putting the h3 in the uls reads a little cleaner if just reading the markup (like how search crawlers view a site).

    jsfiddle example

    to format the header/links next to each other horizontally set the width on the nav element (width:484px used in the js fiddle above fit the two menu lists perfectly)

    in your example the a and h3 are set to 220px but the nav has an auto width and it’s parent div is positioned absolutely (meaning it’ll only go as wide as its content unless the width is set).

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

Sidebar

Related Questions

the following fiddle demonstrates the problem: http://jsfiddle.net/inconduit/2z6Xa/ this is using jquery.dotdotdot plugin for truncating
Concider the following fiddle: http://jsfiddle.net/dts2T/ This has been bugging me for quite some time
http://jsfiddle.net/9aaNh/ Please check this Fiddle. I am having problem with spacing in between text
Here is my problem summarized in the following JS Fiddle : http://jsfiddle.net/sidou/3R5B2/ I need
I have following fiddle: http://jsfiddle.net/BFSH4/ As you see there are two issues: The h1
I have the following fiddle for people to see http://jsfiddle.net/defaye/DhaHP/4/ The result on full
All, I've got the following JS Fiddle: http://jsfiddle.net/HHtBX/11/ I'm trying to basically close all
I have made the following fiddle: http://jsfiddle.net/hxQE4/ See how the right arrow pushes the
Consider the following Fiddle: http://jsfiddle.net/wNrqu/ For the last 4 hours I have been trying
I have created the following fiddle: http://jsfiddle.net/cgoddard/eceGc/1/ And I was wondering what needed 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.