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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:12:09+00:00 2026-05-23T13:12:09+00:00

I have the following html code: <div class=trial1> He said all but the three

  • 0

I have the following html code:

<div class="trial1">
He said all but the three newest reactors will be shut down by 2021, and the remainder a year later.Roettgen announced the agreement early on Monday morning after hour-long negotiations between the governing parties.Merkel in 2010 had pushed through to extend the lifespan of the country's 17 reactors with the last one scheduled to go offline in 2036, but she completely reversed her policy in the wake of Japan's nuclear disaster. She described the new move as a step that will make her country a pioneer in renewable energy.

<h1>This is h1</h1>

    <div class="trial2">
     this is something else what ever what ever
     </div>
</div>

and i have the follwoing css:

.trial1
{
    position:relative;
}
.trial2
{
    display:none;
    position:absolute;
    z-index:20;
    top:1;
    left:1;
    width:30px;
    height:30px;
}
.trial1:hover>.trial2
{
    display:block;
}
.trial1:hover>h1
{
    color:red;
}

Whenever the content in trial1 is hovered I am expecting the content in trail2 to be displayed. But somehow this doesn’t happen. A similar transition of changing the color of h1 on hover of the same element is working? What am I doing wrong?

  • 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-23T13:12:09+00:00Added an answer on May 23, 2026 at 1:12 pm

    Missing .

    .trial1:hover>.trial2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code, but it doesn't put the scrolling div anywhere. All
I have the following HTML code: <div id=summary_form> <textarea class=summary>Please fill in</textarea><br/> <textarea class=summary>Please
I have the following html code: <div class=result hide id=userNameTooShort><span class=error>Your username needs to
I have the following HTML code: <div class=container> <span class=red></span> <span class=hot></span> </div> On
I have the following HTML code: <fieldset> <legend><span>Contact Details</span> <span class=edit1>Edit</span><span class=hide1>Hide</span></legend> <div> <!--content-->
I have the following code: HTML: <div id=login class=transparent-div login_leaf_class> <input class=pointer login_fields_button id=submit_button
I have the following piece of HTML code: <div class=myclass id =class1> <ol class=list>
I have the following HTML code: <div class=dim> Menu <div class='hidden'>submenu1</div> <div class='hidden'>submenu2</div> </div>
I have the following html code- <div class=search_results>...</div> <div class=search_results>...</div> <div class=search_results>...</div> The divs
I have the following code: HTML: <div class=sectionInner><div class=carousel></div></div> <div class=sectionInner></div> <div class=sectionInner></div> <div

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.