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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:48:37+00:00 2026-05-18T01:48:37+00:00

I have an overflow div which is on a jquery modal dialog. <div style=overflow:

  • 0

I have an overflow div which is on a jquery modal dialog.

                    <div style="overflow: auto; height: 300px; width: 780px;">
                        <fieldset>
                            <br />
                            <asp:TextBox ID="txtNote" runat="server" CssClass="notetext" Width="740px" Rows="6"
                                TextMode="MultiLine" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" />
                            <br />
                            &nbsp;
                        </fieldset>
                            <div id="notes">
                                <%
                                    Dim note As New note()
                                    Response.Write(note.shownotes(Val(txtRef.Text)))
                                %>                          
                            </div>    
                    </div>

Some of what I put in between the overflow is appearing ok and moves up and down with the scrollbar.

Other text which is within a css class does not move up and down with the scrollbar. It’s as if it’s not part of the div?

It does work in firefox as intended but not IE (as usual!)

Any ideas?

Anything I put in “p class=’triangle-right’> is appearing as if not part of the div, and it’s ot scrolling up & down.

.triangle-right {
    position:relative;
    padding:5px;
    /*margin:1em 0 1.5em;*/
    margin:1.5em 0em 1.5em;
    color:#000000;
    background:#ffffff; /* default background for browsers without gradient support */
    width:730px;
    border:1px solid #dddddd;
    line-height:1.4em;  
    /* css3 */
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
}

/* creates the larger triangle */
.triangle-right:before {
    content:"\00a0";
    display:block; /* reduce the damage in FF3.0 */
    position:absolute;
    bottom:-40px; /* value = - border-top-width - border-bottom-width */
    left:40px; /* controls horizontal position */
    width:0;
    height:0;
    border:20px solid transparent;
    border-top-color:#aaaaaa;
}

.triangle-right:after {
    content:"\00a0";
    display:block; /* reduce the damage in FF3.0 */
    position:absolute;
    bottom:-40px; /* value = - border-top-width - border-bottom-width */
    left:39px; /* controls horizontal position */
    width:0;
    height:0;
    border:21px solid transparent;
    border-top-color:#ffffff;
}  
  • 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-18T01:48:37+00:00Added an answer on May 18, 2026 at 1:48 am

    I’ve hack-fixed this in the past with

    .overflow-div * {
        position: relative;
    }
    

    However, the problem is related to the positioning of child elements. Make sure that .triangle-right’s parent has a position relative.

    I recommend starting from scratch with the styles and making sure the positioning works before adding anything else. Often I’ve found obscure issues this way.

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

Sidebar

Related Questions

I have a parent div (container) that has a child div (inner) which also
i have a div with fallowing css style.. background-color: #FFFFFF; border: 1px solid #C3CFD1;
I'm using the jQuery qTip to show individual users and their votes when an
I have this form Im creating and when you click on the Next button
I want to tile boxes to look like this picture below, which all the
I am a completely new to mvc and trying to create a dummy application
I am building a simple site with extJS. I can successfully attach click events
Thanks in advance for any-help with this, I'll try and explain it well. I
First of all, this problem only happens in Firefox. Check this example page to

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.