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

  • Home
  • SEARCH
  • 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 8419163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:32:15+00:00 2026-06-10T02:32:15+00:00

I posted the code into a jsfiddle: http://jsfiddle.net/kLNXa/ , basically i want the whole

  • 0

I posted the code into a jsfiddle: http://jsfiddle.net/kLNXa/, basically i want the whole menu to be a block ie if you expand level 1, i don’t want there to be a 15px gap to the left of level 2 with level 2 still remaining indented. (the white space filled in with red and the two black borders:
what is currently is:

what i want it to look like:

on my website however, instead of colours there is a dynamic background image ie:

so im not sure if classing the indent each time would work…

and the actual menu with the background image:
http://couch.betelnutmedia.com

  • 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-10T02:32:17+00:00Added an answer on June 10, 2026 at 2:32 am

    Try this fiddle

    I have just added this code to your css bottom

    // Added Code
        .accordion li{ padding-left:0px;} 
    .accordion li a{padding-left:15px; display:block } 
    .accordion li ul li a{padding-left:30px;background-position:15px 50% !important;} 
    .accordion li ul li ul li a {padding-left: 45px; background-position:30px 50% !important;} 
    .accordion li ul li ul li ul li a {padding-left: 60px; background-position:45px 50% !important;}
    
    ​
    

    but if you have dynamic/variable level then you should go for jQuery

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

Sidebar

Related Questions

The html code is pasted into this url http://jsfiddle.net/nzYjV/ The div (id=input) contains the
I use the following code to pass data into a website: require net/http params
I have the following code working: http://jsfiddle.net/SzW7q/ Admins will be able to go in
I found this code posted on SO to change text links into hyperlinks: function
someone kindly posted this code for me but it only returns /table in the
I'm utilizing the code posted by Jesper Palm here: Make user control display outside
I am using the BlockingQueue code posted in this question , but realized I
I'm using the code posted in this link TSplitter enhanced with grab bar ,
Ok so the title may have been confusing so i have posted 2 code
This is Oliver Hanappi 's static reflection code he posted on stackoverflow private static

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.