View Full Version : help with line breaks


pinhead7987
08-01-2004, 02:27 AM
is tehre anyway to set automatic line breaks where you dont have to constantly adding them??

pb&j
08-01-2004, 03:51 AM
nope.
you either have to enter the line breaks manually or insert the text into a container that is a set width (so the line break will happen at the edge of the container).

<div style="width:100px;">
this is a bunch of text that will drop down to the next line automatically when it reaches the border of this div box that is 100 pixels wide.
</div>

Chrissi
08-01-2004, 03:28 PM
There -is- an html tag called <pre>...

This may do what you want it to, and it may not. Try putting <pre></pre> around the stuff you want to have auto-line break.

pb&j
08-01-2004, 04:00 PM
to further reply on the PRE answer above,

i think PRE turns the font into a system type one. you may be able to use some styling to adjust that. PRE stands for "preformat". so if you type in something like....

blah lasdfsldj sdlkj s df
sdfjl
asdfjjsldjf
asdfjsadfjsldjf
djjfslf

it will turn out on the page like that too.