how to keep the rounded corners from disappearing in a scrolled div


Please see the following:

<a href="http://jsfiddle.net/8fQjB/23/" rel="nofollow">http://jsfiddle.net/8fQjB/23/</a>

I want the hd div to always stay on top. And the content div to be scrollable via the page scrollbar. The answer at <a href="https://stackoverflow.com/questions/8108089/how-to-have-the-right-scrollbar-on-a-web-page-scroll-only-the-middle-pane" rel="nofollow">how to have the right scrollbar on a web page scroll only the middle pane</a> does that. However I need the top rounded corners of the content div not to disappear while the user scrolls up. As the div moves up, these corners move up also behind the hd. I need the text just to scroll and the corners to stay stationary.

Many thanks!


Please check this out <a href="http://jsfiddle.net/8fQjB/25/" rel="nofollow">jsfiddle.net</a><br /> Theoretical answer is "Just create an overlay"


  • How to fade bottom edge of a scrollable TextView?
  • how to execute sql server stored procedure on php?
  • Autoscroll on parent panel, when there is overflow on child panels.Extjs
  • Custom Scroll Bar for Div with pure CSS [duplicate]
  • set body width in px?
  • Bootstrap ScrollSpy skips section when no more scrollable area
  • Prevent body from scrolling on mouswheel, but not the texarea
  • How can I stop the scrollbar from displacing my page?
  • wrong item changes in recyclerview
  • How to expand parent div to account for child's overflow?
  • Is there a way to clone native functions in javascript like window.alert or document.write
  • cell spacing in div table
  • C# List of Panels
  • How to clear text inside text field when radio button is select
  • Change multiple background-images with jQuery
  • Reading JSON from a file using C++ REST SDK (Casablanca)
  • Algorithm for a smudge tool?
  • FB SDK and cURL: Unknown SSL protocol error in connection to graph.facebook.com:443
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • Align navbar back button on right side
  • DotNetZip - Calculate final zip size before calling Save(stream)
  • Get object from AWS S3 as a stream
  • Can Jackson SerializationFeature be overridden per field or class?
  • Cross-Platform Protobuf Serialization
  • Validaiting emails with Net.Mail MailAddress
  • htaccess rewriting URLs with multiple forward slashes
  • Display Images one by one with next and previous functionality
  • Web-crawler for facebook in python
  • Do I've to free mysql result after storing it?
  • Jquery - Jquery Wysiwyg return html as a string
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • Arrays break string types in Julia
  • Is there a mandatory requirement to switch app.yaml?
  • A cron job substitute?
  • Android Studio and gradle
  • WPF Applying a trigger on binding failure
  • Load html files in TinyMce
  • Free memory of cv::Mat loaded using FileStorage API
  • Java static initializers and reflection
  • UserPrincipal.Current returns apppool on IIS