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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:31:08+00:00 2026-06-01T10:31:08+00:00

I have am attempting to add some input fields to a jquery ui dialog

  • 0

I have am attempting to add some input fields to a jquery ui dialog box and am having trouble applying styles to them.

Currently I have something like this:

<div id="dgNew" title="New Client" >
<fieldset>
    <legend>Add a New Client</legend>
    <div><label class="left-lbl" for="clientCode">Code</label><input class="input-md" type="text" id="clientCode" name="Code" disabled="true" /></div>
    <div><label class="left-lbl" for="ClientName">Client Name</label><input class="input-md required" type="text" id="ClientName" name="ClientName" /></div>
</fieldset>

The css I have to style this is not getting picked up. If I move the fields to just display on the page (not in the dialog) then the styles I have applied to left-lbl, right-lbl, etc. get picked up fine.

If I examine the dialog in firebug the styles are there on the elements but do not show as having been applied. Is there something I need to do specific to jquery ui to make this work?

  • 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-01T10:31:10+00:00Added an answer on June 1, 2026 at 10:31 am

    Ok, problem solved. This was just a stupid mistake on my part. I had the style applied to all class within a wrapper div on my page but the dialog’s div is declared outside of the wrapper and so it wasn’t picking them up.

    #wrap label.left-lbl
    

    instead of just

    label.left-lbl
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some trouble with a word add-in. I'm attempting to create a new
I am attempting to add some entities that I have created. When I try
I am attempting to add validation to my application. I have some rules I
I am attempting to add some multi-threading to a WPF application I have created
I have an editor I am attempting to emulate that has some very nice
Attempting to generics-ify some legacy code, I'm stuck. I have a ParentObject which wraps
I'm currently attempting to retrieve a list of objects from my database using jQuery.
I am currently attempting to change the css of specific dates inside a jQuery
I'm attempting to unit test some code using NUnit. I have a method: public
I'm making a Live Wallpaper and attempting to add some user preferences. If I

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.