Dreamweaver 4, CSS and Text Indent.Please help.
Hi all,
I'm pretty new to Dreamweaver 4 and CSS and have a problem applying a 5-pixel text indent to all four paragraphs of text I have in the centre of my webpage.
I've tried Block>Text Indent>5 Pixels, but that only applies to the first line in each paragraph?
Box>Padding Left>5 Pixels doesn't apply it to the first paragraph at all?
Border Width Left>5 Pixels and Box>Margin>Left>5 Pixels similarly.
Positioning>Placement Left seems also to have little effect.
In the old days it would just have been a case of an empty column with a spacer gif, surely there must be a way to do it Style Sheets?
Any help, advise as to what I'm doing wrong much appreciated.
Regards
Andrew
disaster-master posted this at 20:35 — 13th June 2002.
She has: 2,154 posts
Joined: May 2001
Are you wanting to indent the first sentence in each paragraph or bring the whole paragraph in 5 pixels on each side?
table cellpadding perhaps?
Andrew_Samuel posted this at 21:39 — 13th June 2002.
They have: 82 posts
Joined: Jun 2002
Cheers for the reply disaster-master
I am wanting to indent 3 whole paragraphs of text (every line and sentence)
I had thought of table cellpadding but wanted to do it through Dreamweaver 4 and CSS - surely there must be a way?
Regards
Andrew
Suzanne posted this at 00:09 — 14th June 2002.
She has: 5,507 posts
Joined: Feb 2000
p {
margin-left: 5px;
/* or padding-left: 5px;*/
}
You might want to use a class if these aren't the only ones, or alternatively, leave p be, and put those three paragraphs in a DIV
div.indent5 {
padding-left: 5px;
}
Andrew_Samuel posted this at 17:26 — 14th June 2002.
They have: 82 posts
Joined: Jun 2002
Many thanks Suzanne, much appreciated
I'll give it a whizz
Cheers
Andrew
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.