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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:20:11+00:00 2026-05-25T00:20:11+00:00

In my css, I have a table with zebra striping. e.g. white and light-blue.

  • 0

In my css, I have a table with zebra striping. e.g. white and light-blue.

Lets say I have three columns… what I’d like to do is be able to make maintain the zebra striping, and within css (no javascript) add shading/make the blues darker for each column.

Is that possible? Something like getting the “current” background color #AABBCC and then Adding #000011 to the current color to give me #AABBDD…

No idea if this is even possible, so just wondering. I’m just being lazy, as I don’t want to have to redefine my zebra striping for every column/column group I may have.

Thanks

  • 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-25T00:20:12+00:00Added an answer on May 25, 2026 at 12:20 am

    No, this is not supported with CSS, unless you were to use something like CSS expressions (which rely on Javascript).

    However, if you’re willing to use a preprocessor for your style sheets, you can use a library like LESS to introduce variables and perform addition like that. This example in particular uses Javascript as well, so that doesn’t really fit the criteria either.

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

Sidebar

Related Questions

I have a css table setup like this: <div class='table'> <div> <span>name</span> <span>details</span> </div>
I have a table with two columns, like this: Firstname: Jeff Where the first
I have a table where each row has a CSS id like this: <table>
I have a table in HTML which has three columns i.e Error - User
I have css that works on all tr tags for the table. so in
I'm using the Blueprint CSS grid for my HTML page. I have a table
I have given a table background image using css background-image property. The cells are
I have to create one table using XSLT and CSS. The table should look
I have the following style in an external CSS file called first.css table {
I have a homepage.html and it refers to styles.css(makes a table). But I also

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.