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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:31:15+00:00 2026-06-13T00:31:15+00:00

I am creating a Jquery accordion from the following HTML <div class=title><a href=javascript:void(0)>Title goes

  • 0

I am creating a Jquery accordion from the following HTML

<div class="title"><a href="javascript:void(0)">Title goes here</a></div>
<div class="body">Body goes here</div>

The accordion works and has a border around it which I like. However, when an element is expanded, I would like to remove the bottom border of the header. Is this possible? For an example of what I need, try

<div class="title" style="border-bottom:0px;"><a href="javascript:void(0)">Title goes here</a></div>
<div class="body">Body goes here</div>

I need the above style but only for the active element in the accordion. I tried setting the style for

.ui-accordion-header-active

but it does not work. Any ideas?

Edit: here is a Js fiddle to test it. I’d like to get rid of the dividing line between title and body.

http://jsfiddle.net/2LkS6/

  • 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-13T00:31:16+00:00Added an answer on June 13, 2026 at 12:31 am

    You can simply add the following css:

    .ui-accordion-header-active {
        border-bottom: none;
    }
    

    updated fiddle

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

Sidebar

Related Questions

When creating jQuery objects I've used the following syntax lately, as described here :
I am dynamically creating divs within a jquery accordion that are loaded with data
When creating jQuery UI based websites, CSS, JS and HTML code can be splited
I am creating a Jquery UI dialogue like this: function CloseDisputeDialog() { $(#dispute_form).html(@Html.Raw(closingMsg)); $(#dispute_form).dialog(addbutton,
I am creating a horizontal accordion timeline but am having issues with child div
When creating a jQuery UI datepicker on a detached div it works fine in
I creating jquery code to generate specific html-blocks that contains html-controls (e.g. textbox, textarea,
I am creating Accordion menu using JQuery. I want to hide links according to
I am using JQueryUI Accordion for creating a Vertical Multi-level Menu with the following
I am creating a simple accordion using jQuery, so far it looks good but

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.