troubleshooting Question

Overflow: auto does not stretch with position: absolute

Avatar of APD Toronto
APD TorontoFlag for Canada asked on
3 Comments1 Solution251 ViewsLast Modified:
Hi Experts,

Can anyone tell me why I am getting a scroll bar with the following when I am expecting for the div to automatically stretch vertically?

    display: block;
    float: left;
    overflow: auto;
    padding-top: 10px;
    width: 100%;
    text-align: center;
    position: relative;
    outline: 2px solid red; 

    position: absolute;
    width: 100%;
    overflow: auto;
   /* display: none;*/
   /* background-color: cyan;*/

Here is what I am referring to: below the (866) 000-9999 the email address does not show.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros