Indent

J

Jukka K. Korpela

Nowhere said:
How do you indent a line?

I though I'd write you a detailed explanation, since you were
apparently unable to check the FAQs by yourself. Then I realized that
you had kindly indicated that you are not using a real E-mail address.
Now you have to do as the rest of us, read the fine FAQs. HTH.
 
S

Steve Pugh

Nowhere said:
How do you indent a line? ie: Bring it further inwards.... Thanks...

Depending on the circumstances by using one or more of the CSS
properties: margin; padding; text-indent; left and/or right (in
conjunction with position).

What exactly do you want to do? Indent the first line of a paragraph?
Indent a whole block of text? Something else?

Steve
 
N

Nowhere

Hi,

I want to indent one or two lines of any paragraph.
Just to bring the text in by say, half an inch or so!!!
 
S

Steve Pugh

Top posting fixed this time. Please don't do it again.
I want to indent one or two lines of any paragraph.

Not possible. You can indent a whole paragraph or you can indent the
first line of a paragraph but that's it.
Just to bring the text in by say, half an inch or so!!!

To indent a whole paragraph by half an inch on the left you would use

p.foo {margin-left: 0.5in;}

<p class="foo">....</p>

But inches are not a very useful unit of measurement on the WWW. I'd
suggest using em instead. 3em would be about right.

Steve
 
D

dorayme

From: Steve Pugh said:
Newsgroups: alt.html
Date: Tue, 29 Mar 2005 19:50:26 +0100
Subject: Re: Indent
snip


Not possible. You can indent a whole paragraph or you can indent the
first line of a paragraph but that's it.


To indent a whole paragraph by half an inch on the left you would use

p.foo {margin-left: 0.5in;}

<p class="foo">....</p>

But inches are not a very useful unit of measurement on the WWW. I'd
suggest using em instead. 3em would be about right.

Steve


and for the first line of each para, following this em size, is, I think,

p.foo {text-indent: 3em}


dorayme
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top