471,350 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Making a <DIV> go vertically like MultiLine Textbox

Hi I have a div tag! It should work in the way a multiline textbox
would work

Here is the code I am using:

<div style='WIDTH: 383px; HEIGHT: 200px; position:relative; OVERFLOW-Y:
Auto'>Sample Sample Sample Sample Sample Sample</div>

But no matter what I do, it doesn't want to work vertically
There is no Horizontically scrollbar, but the text go horizontically
like this

d= div

ddddddddddddddddddddddddd
d d
d Sample Sample Sample d Sample Sample Sample Sample Sample Sample
Sample
d d
dddddddddddddddddddddddd

I want it like this:

ddddddddddddddddddddddddd
d Sample Sample Sample d
d Sample Sample Sample d
d Sample Sample Sample d
d d
ddddddddddddddddddddddddd

Feb 21 '06 #1
0 1162

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by CMAR | last post: by
4 posts views Thread by Alan Silver | last post: by
15 posts views Thread by scott | last post: by
3 posts views Thread by John Pote | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.