Why when using divs you cannot select individual text.

I noticed since i moved to divs instead of using tables for layout of my pages, that text is no longer selectable, sometimes you can select a paragraph, but most of the time if i drag and highlight I get half the page or some wiered selection of parts.

Why is this?

and

What am I doing wrong,

and

How can design my pages better to allow for text to be selectable down the character.

thanks.
redcableAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
It's the nature of the beast. They are different elements with different characteristics; why you expect them to behave the same way?  

Cd&
0
redcableAuthor Commented:
uh I dont expect them to work the same way. just a little insight on if im doing things correct, or there is a better way to do them to be a better designer. hense...

why is this,

what am i doing wrong

and how can i design my pages better to allow for text to be selectable down to the character.


0
COBOLdinosaurCommented:
If you show a sample of the code I'll be happy to look at it and see if there is anything wrong with it.

Cd&
0
eeBlueShadowCommented:
The general idea is that text is selectable in the order it appears in the HTML file, rather than how it appears on screen.

If you have a div in the bottom right of the screen, followed by a div in the top left, drag-selecting from the middle of each div will select the last bit of the bottom right and the first bit of the top left (I hope that made sense)

IE has a bug which rears its head occasionally, whereby you can't select a block of text in the middle of a page. Instead, selecting anything will select everything from the start of the page to the cursor position, however I don't know under what circumstances this appears.

_Blue
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.