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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:47:42+00:00 2026-05-27T04:47:42+00:00

I have divs in the following format <div class=box> <div class=button>B</div> </div> <div class=box>

  • 0

I have divs in the following format

<div class="box">
    <div class="button">B</div>
</div>
<div class="box">
    <div class="button">B</div>
</div>
<div class="box">
    <div class="button">B</div>
</div>

I want to display each .button when their .box parent is hovered. How?

  • 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-27T04:47:43+00:00Added an answer on May 27, 2026 at 4:47 am
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script language="javascript" type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <style>
    .box {width: 30px; height:30px; margin:5px; display: block; float:left; cursor:default; font-size: 24px; font-weight:bold; padding: 5px; border: 1px #009 solid; background-color:#DFCCF4; text-align:center;}
    .button {display: none;}
    </style>
    <script>
    $(document).ready(function(e) {
        $('.box').mouseover(function(){
            $('.button',this).show();
        });
        $('.box').mouseout(function(){
            $('.button',this).hide();
        }); 
    });
    
    </script>
    </head>
    
    <body>
    
    <div class="box">
      <div class="button">B</div>
    </div>
    <div class="box">
      <div class="button">B</div>
    </div>
    <div class="box">
      <div class="button">B</div>
    </div>
    
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page with the following two divs: <div id=searchResults> </div> <div class=postSearchOptions
If you have the following divs: <div class=container> <div class=something>some text</div> </div> <div class=container>
I have a set of divs in the following structure: <div id=team> <div class=member>
I have the following divs: <div class=vote> <input type=hidden name=reply-id value=83743> <a class=vote-up-0 title=Vote
All, Say I have the following divs: <div id=rotate_container> <div class=reviews id=item1>This is item
I have divs that I want to display at specific times throughout the day.
I have a bunch of elements like the following: <div class=droppableP id=s-NSW style=width:78px; height:63px;
I have following divs on my page <div id=rpttimeline>div 1</div> <div id=rptareaview>div 2</div> <div
I have the following divs <div id=outer><img src=myimgpath><div id=name>Username</div></div> How do I fix the
I have three divs with the following css: div#container { width: 780px; } div#photos

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.