View Full Version : Paragraphing Help Needed


alexed007
07-25-2005, 09:11 PM
Hello all. I'm really new at this and have a lot of questions concerning how to format my website. One of my problems is that I can't create indents on a paragraph. Every time I try, they are never big enough and it always comes out hard to read. On the same page, I'd like to put a white text box so that it is easier to read, but I want to keep the colored background.
Thanks for your help!
Alex

oldcrazylegs
07-25-2005, 10:30 PM
Indents are a breeze if you have taken the time to learn Cascading Style Sheet. In the head tags of your page or in your linked style sheet put the following.


<style type="text/css">
p {text-indent:2em;}
</style>

In the main body of your page put this.

<p>This will be indented 2em.</p>

If there is a paragraph you dont want indented do this.

<p style="text-indented:0em;">This paragraph will not be indented.</p>


CSS Reference http://www.w3schools.com/css/css_reference.asp#text

alexed007
07-25-2005, 10:32 PM
I know how to add indents, but how do I adjust the size of them? Thanks, anyway.

pb&j
07-26-2005, 08:18 AM
if you are using the previous examples posted, then just adjust the EM values to a higher or lower number.

if you are using some other method, then let us see your coding and we can figure something out for ya.

alexed007
07-28-2005, 11:08 PM
When I try to put in the code listed above, it just comes out as saying "this will be indented". Where/how do I put in my words? Also, is there a way to put a text box on the page so that it is easier to read? Thanks.
Alex

MaGiCSuN
07-29-2005, 07:31 PM
you put your words where it says "this will be indented"
those words where just to show you the place where it will be making a difference ..

<p>This will be indented 2em.</p>

Love,
Mirna

alexed007
07-29-2005, 09:40 PM
I don't know if I'm doing this right, but when I do that, it always says "2em" after my words. I think I must be doing something wrong. I'm sorry. Thanks for your help!
Alex

pb&j
08-01-2005, 06:05 AM
that is just part of the example text. try this...

<style type="text/css">
p {text-indent:2em;}
</style>

In the main body of your page put this.

<p>This will be indented.</p>

If there is a paragraph you dont want indented do this.

<p style="text-indented:0em;">This paragraph will not be indented.</p>