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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:22:24+00:00 2026-06-03T13:22:24+00:00

I have collapsible sections created using jQuery UI Accordion. When each section is expanded

  • 0

I have collapsible sections created using jQuery UI Accordion. When each section is expanded I apply a background image to its header part like this:

jQuery UI Accordion Demo

If you look closely at the section headers, you will notice a gap at each rounded corner. Obviously the gaps will disappear if I remove the following CSS (but I’d like to use the image):

background: url("http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png") repeat-x scroll 50% 50% #DFEFFC;

Is there a way to use the image but remove the gaps at the same time?

  • 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-03T13:22:25+00:00Added an answer on June 3, 2026 at 1:22 pm

    Yeah, add a border radius to the element with the background on and match it to the radius of the header.

    ie

    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    

    If you really want to go to town

    .ui-accordion .ui-accordion-header a {
      border-radius: 6px;
    }
    
    .ui-accordion .ui-accordion-header.ui-state-active a {
      border-top-left-radius: 6px;
      border-top-right-radius: 6px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Jquery accordion which works fine. Sections get expanded/collapsed when clicked on
I have a JQuery Accordion as below; <div id=accordion> <h3 class=ui-accordion-header><a id=link1 href=#>First Header</a></h3>
I have a set of divs that I want to make collapsible/expandable using jQuery's
I have modified jquery mobile a little so a collapsible with data-type=horizontal converts into
I have an Accordion style of navigation section on a website at work and
I have the following jquery mobile code: <div data-role=collapsible> <h3>I like to read a
I have the classical table with expandable and collapsible records that if expanded show
Is it possible to have multiple tabs(horizontal) with in single collapsible Accordion?? IF yes
I'm using asp.net/c# and have a number of Collapsible Panel Extenders that have been
I have the jQuery Accordion set up on a page of mine, and the

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.