Jump to content

paragraph indents! They do exist!


Guest fubar::chi
 Share

Recommended Posts

Guest fubar::chi

me and some other peopel ( i forget who) were talking on mub the other day and someone asked (prolly scoopy) how to put paragraph indents into an html file. Someone else (maybe LiquidZoo) and me said it couldn't be done with spaces. We were right, but we were wrong. CSS! That beautiful, magical wonderful thing brought to us by thw W3C can do it too!

 

I was checking http://www.w3schools.com/ after wurfing around the Master's trinity and came upon the link.

 

here's how it's done

p {

text-indent: 1cm;

}

you can do it in px, em, in and whatever else you want but there you have it.

An indented paragraph by css

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...