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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:58:53+00:00 2026-06-15T04:58:53+00:00

So in CSS this is possible: #Something1:hover .Something22 {…} But when I put it

  • 0

So in CSS this is possible:

#Something1:hover .Something22 {...}

But when I put it like this:

#Something1 img:hover .Something22 {...}

It doesn’t work. Is this possible for just images?

  • 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-15T04:58:54+00:00Added an answer on June 15, 2026 at 4:58 am
    #Something1 img:hover .Something22 {...}
    

    would mean your element with class Something22 is inside the img element. This wouldn’t be valid.

    If your element with class Something22 is just after the image, maybe you want

    #Something1 img:hover + .Something22 {...}
    

    Or if your image is of class Something22, then you need this :

    #Something1 img.Something22:hover {...}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to do something like this: <li style=hover:background-color:#006db9;> But it wont work. Is
Possible Duplicate: CSS Pseudo-classes with inline styles Is something like this... <span style=this:hover{color:blue}>Turns blue
Possible Duplicate: How does this CSS triangle shape work? Please help me i need
Is it possible to use @import in one css file like this. @import file1
I know something like this is possible, I'm pretty sure I'm just wording it
I doubt this is possible, but just wanted to confirm. I am writing a
Is it possible to highlight table row on hover (something like this ) using
Possible Duplicate: Two css files defining same class The answers to this question and
Possible Duplicate: What characters are valid in CSS class names? Don't if this is
Possible Duplicate: Is there a CSS parent selector? Is there some kind of .this

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.