I have a pickle: I've been trying to indent the first line in each paragraph after PHP calls it from a database. I get the paragraphs on new lines, as needed, but the first line will not indent. I've uses CSS, to no avail.
Here is the script I'm using:
<p class="indent"></p>PHP Code:echo nl2br($row_getSandF['colt_start_desc']); >
Here's the CSS:
#maincontent p.indent {
text-indent: 5px;
}
Is there anything that I can use is conjunction with nl2br in order for the first lines in every paragraph to indent?
I love this forum...it's like second family.
Heather![]()






Bookmarks