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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:55:28+00:00 2026-05-26T04:55:28+00:00

Is there a way to simplify the following css rule so that .x-grid-row selector

  • 0

Is there a way to simplify the following css rule so that .x-grid-row selector won’t have to be repeated?

#OpenRequestListGrid .x-grid-row, #MyRequestListGrid .x-grid-row {
    line-height: 13px;
    padding: 0 1px;
    vertical-align: top;
    background-color: #BBB;
}

Important issue here is that I don’t want to specify .x-grid-row by itself as this rule is from a larger library.

Note: maybe I wasn’t clear the first time but I don’t want to use .x-grid-row as this will effect other grids that I want to leave alone. I would like to target just my two grids. What I am aiming for is not repeating the same config twice one for each grid ID.

HTML sample :

<div id="dontChangeMe" class="x-grid-row">
<div id="OpenRequestListGrid" class="x-grid-row">
<div id="MyRequestListGrid" class="x-grid-row">
  • 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-26T04:55:28+00:00Added an answer on May 26, 2026 at 4:55 am

    So the Answer is there really isn’t another way. Repeating element id and then the same selector is necessary. Thanks to all those who replied.

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

Sidebar

Related Questions

Is there a way to simplify the following, so I won't need a runWithTimeout
Say I have the following, is there a way to chain them together, or
I want to simplify the following statement. if($_=~/^([0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F])/) Is there an alternate way I
Is there any way to simplify the following code: def get_or_create_user(id, photo=None, first_name=None, last_name=None,
I have the following code that I would like to simplify. With javascript and
I was wondering if there is a way to simplify this down from two
Is there a way to find the name of the program that is running
Is there a more concise and idiomatic way to write the following code, which
Is there a way to achieve the following? $myvar = 'x'; debug($myvar); // outputs
I have the following class that's used by my MVC3 application. I would like

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.