Home DFS SB OD SDN

Notice: How To Tip The Webmaster.


You are at the section Intro to CSS

Fun With Text: Indentation

Using the p element:
<p style="INSERT CSS HERE">
You can indent the text in the paragraph. Let's use 50px
<p style="text-indent:50px">

This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented. This is the text indented.

</p>

This is text indented and justified on both ends
<p style="text-indent:50px; text-align:justify">

This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends. This is the text indented and justified on both ends.

</p>

Menu:
Intro to CSS Main Page Fun With Font: Font Families Fun With Fonts: Font Styles Fun With Fonts: Font Weights Fun With Fonts: Font Sizes Fun With Text: Color Fun With Text: Decoration Fun With Text: Transformation Fun With Text: Alignment Fun With Text: Indentation Fun With Background: Color
Related:
Silicon Cajon Home Page DavesFunStuff
Market Zone:
Dave's Fun Stuff
TV Zone:
Find your favorite TV shows with "Let's Watch TV!"
Notable:
Dave's Fun Stuff SDN Media News and More
Footer:
Dave's Fun Stuff Super Birthdays Contact Webmaster



© 1995-2023. davesfunstuff.com. All Rights Reserved. Reproduction of any part of this website without expressed written consent is prohibited.

Help Support Our Ad-Free Web Section

Just use our PayPal link to pay.

Please Donate Cash to help pay for webhosting, domain payments, expenses and labor in keeping this section going. Thank you.

$2, $5, $10, $20, $50, $75, $100, $ANY

Notice Of Disclosure (updated June 2023):

"David Tanny is the owner and operator of the domains davesfunstuff.com and davidtanny.com"

Website Cookie Policy