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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:34:35+00:00 2026-05-25T19:34:35+00:00

A question about CSS. I am working on some dated code. This code has

  • 0

A question about CSS.

I am working on some dated code. This code has its own css rules which are linked to some ‘css manager’… now I want to use jQuery UI with its nice and cute dialogues etc.

Now my question is:
I have a css rule say…

#menu-bar{something}

jQuery UI is using rules like:

.ui-dialog-titlebar{something2}

Can I (without modifying jQueryUI stylesheets) do something akin to :

.ui-dialog-titlebar = #menu-bar?

So .ui-dialog-titlebar will be overwritten with {something} from #menu-bar?

Thanks in advance.

PS. Let me add that I can not simply do

.ui-dialog-titlebar {something}

becasue {something} is changing depending on the ‘style manager’ used.

  • 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-25T19:34:35+00:00Added an answer on May 25, 2026 at 7:34 pm

    I don’t think a css rule can inherit from another one, definitely not CSS 2 or CSS 3. What you can do is to add multiple css classes to the elements. In your case, you could simply add the ID to the dialog element:

    <div id="menu-bar" title="dialog">...</div>
    

    or add it programmically:

    $('.dialog').dialog(...).attr('id', 'menu-bar');
    

    Note though, #menu-bar should really be a class rather than an ID, if you want multiple elements to have the style.

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

Sidebar

Related Questions

This question is about organizing the actual CSS directives themselves within a .css file.
I've got a question about CSS based popup windows, like those generated by jQuery
I recently posted a question about centering a page with CSS. I figured out
I don't know much css or html, so I have a question about taking
I have some questions about basic CSS that I was unable to understand or
Are there any example of CSS hacks which were working before new version or
I have a question about css clear float . My question is when I
I am working on a Facebook iFrame application, and have a question about styling.
I know this is probably a simple question but my mind just isn't working
I'm working with a DotNetNuke menu - which may be irrelevant, since my question

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.