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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:13:24+00:00 2026-06-18T11:13:24+00:00

Okay, the title is worded terribly, I know. I really don’t know exactly how

  • 0

Okay, the title is worded terribly, I know. I really don’t know exactly how to describe this.

I am editing a “website” but I don’t have access to HTML or Javascript or PHP or anything else. Only CSS, and I can creatively manipulate the HTML already presented in the website.

<div id="list">
<table>
 <tbody>
  <tr>
   <td class="td1">blahblahblah</td>
   <td class="td1">blahblahblah</td>
   <td class="td1">blahblahblah</td>
   <td class="td1"><a href="bleach.com">Bleach</td>
   <td class="td1">Score: 9</td>
  </tr>
 <tbody>
</table>

<table>
 <tbody>
  <tr>
   <td class="td2">blahblahblah</td>
   <td class="td2">blahblahblah</td>
   <td class="td2">blahblahblah</td>
   <td class="td2"><a href="naruto.com">Naruto</a></td>
   <td class="td2">Score: 10</td>
  </tr>
 <tbody>
</table>
</div>

So this is basically how it’s set up. These are 2 anime, Bleach and Naruto. Naruto’s score is a 10, Bleach’s is a 9. My goal is to select the parent table of the anime that contains a score of 10 so that I can set up a specific hover animation event using keyframes whenever an anime with a score of 10’s table is hovered over.

Now the way this is set up, I don’t think there’s any way to do it other than manually selecting each anime with a score of 10 by doing something like #list > table > td:nth-of-type(4) a[href*=”naruto.com”] though I’m not sure that’s relevant. That’s how I can select the child, but how do I select the table parent to style it for hover? There must be a way. 🙁

Appreciate any help you can offer. If you leave a comment within the next day I should be able to respond back immediately.

Thanks.

Please keep in mind, I can not simply give a table a class or id. I have no access to adding or editing anything within the set HTML. So I need to figure out a different method. Also, selecting the table by doing #list table:nth-of-type(n) is not possible because the list of tables will be ever-changing (tables added/removed), can be sorted (altering n), and the sheer volume (we’re talking hundreds of tables) etc. which would throw it out of play.

  • 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-18T11:13:26+00:00Added an answer on June 18, 2026 at 11:13 am

    This is not possible using only CSS. You need to select for an attribute at least. There was a proposal for a :content selector for CSS 3, but that didn’t end up in the spec. (More info here).

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

Sidebar

Related Questions

Okay, the title of this topic is really stupid - but I am not
Okay, I don't know how to phrase the title for this question. openDir =
Okay the question title may not have made sense... mostly because I don't know
Okay so i have this code: if (isset($_GET['book'])) { $query= SELECT book_id, title, authors.`author`
Okay this question is very simple: I have a facebook page, and a website.
Okay I have been working on a website but I keep on having an
Okay. Complex Title for a simple(?) problem. I have something like this going on
Okay. Complex Title for a simple(?) problem. I have something like this going on
Okay so I know the title is very vague but here is my more
Okay, I know that is a funky-sounding title, but I couldn't think of a

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.