Selection highlights runs out of parent container

Hi,

Whenever I select multiple lines of text in a paragraph tag (or any other container), the selection always runs out of its parent container. In fact, it goes all the way to the edge of the page. Is there something fundamentally wrong in my approach?

I always have something similar to this:


#page-wrapper {
    width: 960px;
   margin: 0 auto;
}

/* This div sits inside the page-wrapper */
/* The paragraph tags are inside the #page div */
#page {
    padding: 25px;
}

No, that’s normal behavior. You can prevent it by giving the container overflow: hidden;.

That’s great, thank you very much!