CSS text indentation question

Status
Not open for further replies.
Hi everyone.
I've got a web page with some paragraphs of text. The text must have some indentation, but I don't want to spread   everywhere, so I defined a proper style sheet... it seems that the indentation applies only to

...

blocks of text (my CSS reference confirms this).
My questions are: is there a way to get rid of the extra space between paragraphs? Is there another way to apply indentation?

Thanx a lot

Gioppe
 

Qom-Riyadh

Seniorius Lurkius
31
If you post your CSS file, we can help you debug it. Off the top of my head, you need to manipulate the padding and margin settings, something like:

code:<HR>
Code:
p {
   padding-top: 0px;
   padding-bottom: 0px;
   margin-top: 0px;
   margin-bottom: 0px;
}

Note that not all browsers support CSS properly; particularly, Netscrape 4.X will give you fits. I don't have NS4 handy right now, but I think you can get away with that code snippet.

Blooberry has a great online CSS reference.
 
Status
Not open for further replies.