PDA

View Full Version : A quick HTML code question


Kevinnaia
11-25-2002, 05:55 PM
What are the code to keep text from going strait across the page?

I want it to
be something
like the text
I am writing
right now
instead!

DCElliott
11-25-2002, 06:26 PM
You need to enclose it in a space. The easiest way is to create a div like this:
<div style="width:120px"><p>Your wrapped text goes in here.</p><p>And here is a new paragraph.</p></div>

You could also create a table of a specified width but that is not the best way to do layout. (IMHO)

ByteWizard
11-26-2002, 07:10 AM
Or the ugly brute force method...

I want it to<br>
be something<br>
like the text<br>
I am writing<br>
right now<br>
instead!