i need help with a code |
i need help with a code |
Mar 7 2007, 08:57 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Nov 2006 Member No: 482,602 |
Is there a specific code to put a space before a text. Like an indentation before a paragraph.
ex. _____________SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. SAMPLE SENTENCE SAMPLE SENTENCE. Instead of a _________, what can it be. |
|
|
|
![]() |
| *Azarel* |
Mar 7 2007, 09:05 PM
Post
#2
|
|
Guest |
There are a couple things you can do to indent a paragraph.
1. Insert (which acts as a space). About five should do the trick. 2. Use <dd>, which isn't "proper," but gets the job done. eg: <dd>Put all your paragraph text in here.</dd> 3. Put this into your style sheet: <style type=text/css> p {text-indent: 1cm;} </style> And then use paragraph tags: <p>Put all your paragraph text in here.</p> |
|
|
|
![]() ![]() |