Hello,
I wanted my website's display area to be exactly 768 px centered on the page. So here's the css properties I applied to the "main" div that contains every element I add on my webpage:
div#main { margin-left: auto ; margin-right: auto ; width : 768px ;}
It works, fine, however when I select several lines of text inside it, the blue selection is bleeding all the way to the left and right of the window (see attached image).
How can I prevent this from happening?
Thanks for reading!
Thomas