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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:37:17+00:00 2026-06-08T14:37:17+00:00

Problem relates to this fiddle here: http://jsfiddle.net/k3QAC/1/ My friends and I are doing a

  • 0

Problem relates to this fiddle here: http://jsfiddle.net/k3QAC/1/ My friends and I are doing a project

I have three identical section tags that looks like this:

<section id="1">
 <h3>This is a heading.</h3>
 <p>This is 1 of 1 p tags.</p>
 <p>This is 1 of 2 p tags.</p>
 <p>This is 1 of 3 p tags.</p>
</section>
<section id="2">
 <h3>This is a heading.</h3>
 <p>This is 1 of 1 p tags.</p>
 <p>This is 1 of 2 p tags.</p>
 <p>This is 1 of 3 p tags.</p>
</section>
<section id="3">
 <h3>This is a heading.</h3>
 <p>This is 1 of 1 p tags.</p>
 <p>This is 1 of 2 p tags.</p>
 <p>This is 1 of 3 p tags.</p>
</section>

When you hover over any of the H3 tags in my Fiddle, I want the < p > tags to display in the exact same location. As in, if you have over section#1 h3, the p tags show starting at the top. If you hover over section #2 h3, the p tags show in the exact same spot. Same with section #3 h3.

  • 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-08T14:37:21+00:00Added an answer on June 8, 2026 at 2:37 pm

    If you want the visible paragraph to always appear at the top of the page, next to the list of headings, you want to use position: absolute; on the p tags, and use top: 0; in addition to left: 25%; You won’t use any positioning on the section tag so that the paragraphs are placed in relation to the document. If you would rather display the paragraph in relation to the section, simply add position: relative; to the section tag

    section p { 
      position:absolute;
      left:25%;
      top: 0;
      width:75%;
      display: none;
    }
    

    Demo 1 : http://jsfiddle.net/qemuK/

    However, your rule section h3:hover + p will only apply to the first paragraph following the h3:hover. As designed, the 2nd and 3rd paragraph of each section will always be invisible. To show all three paragraphs, you will need to wrap them in another element and show/hide that element, rather than the paragraph itself.

    <section>
      <h3> This is a heading</h3>
      <div class="paragraphs">
        <p>1 1 This is Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin id tortor nulla, in placerat ligula. Fusce magna turpis, consequat ut tempus quis, elementum varius</p>
        <p>1 2 This is Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin id tortor nulla, in placerat ligula. Fusce magna turpis, consequat ut tempus quis, elementum varius</p>
        <p>1 3 This is Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin id tortor nulla, in placerat ligula. Fusce magna turpis, consequat ut tempus quis, elementum varius</p>
      </div>
    </section>
    

    And the CSS:

    section .paragraphs { 
        position:absolute;
        left:25%;
        top: 0;
        width:75%;
        display: none;
    }
    
    section h3:hover + .paragraphs {
        display:block;
    }
    

    Demo 2 : http://jsfiddle.net/YcDuu/

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

Sidebar

Related Questions

I got a CSS question related to this fiddle: http://jsfiddle.net/r584e/ Here the relevant screenshot
if you look at this fiddle( http://jsfiddle.net/5ajYD/ ) with an android browser you see
Here is my problem: I have just been brought onto a massive asp.net C#
This is a problem is related to worker role hosted VM. I have a
I have a serious performance problem. I have a database with (related to this
I got this from php.net website. This is related to the problem I am
Take a look at this fiddle: http://sqlfiddle.com/#!6/18324/2 Expand the very first execution plan, for
First of all, this relates to a desktop application rather than an ASP .Net
This problem relates to the Restlet framework and Java When a client wants to
This seems to be a problem related to Safari only. I've tried 4 on

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.