Grow your CSS skills. Land your dream job.

Text Selection

  • # August 21, 2012 at 10:28 am

    I’m not sure where this stems from (markup? css?) but why is it that sometimes when you select text inside a div the “selection” background color goes beyond the bounds of the div? In other words, it’s not just selecting the text…
    Anyone encountered this? Is there a way to fix it?

    # August 21, 2012 at 10:30 am

    Can you give an example…can’t say I’ve ever seen it.

    # August 21, 2012 at 2:04 pm

    Ah yes, I have seen this before… I can’t remember at all what causes it, though.

    But don’t worry, it’s not actually selecting more stuff, it’s still only selecting the text.

    # August 21, 2012 at 4:56 pm

    @Paulie_D : I wanted to attached an example, but of course now I can’t find one…

    @TheDoc: I was curious from a design perspective more than anything….

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".