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

check this page out:

http://www.w3schools.com/css/css_background.asp

 

It gives all the specifics and examples on how it works. Try using konq, I have been having problems with mozilla... It is not supported in netscape 4, but I think should work with a newer mozilla... haven't quite figured out my problem yet.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...