HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
How to create a style to indent all new paragraphs of text
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
astro211



Joined: 28 Aug 2008
Posts: 18
Location: Adirondacks NY

PostPosted: Thu Sep 18, 2008 7:41 pm     How to create a style to indent all new paragraphs of text Reply with quote

I am looking for a way to create a css style to set all paragraphs to indent. Can I do this or do I have to do it as an inline for each? I know this is probably a simple question, but I just started learning HTML and I don't know much at all yet. Thank you. I tried using a style rule by making each <p> element equal to "p" but still had to do it with each and every paragraph. Is there an easier way?
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1288
Location: Biloxi, MS

PostPosted: Thu Sep 18, 2008 8:40 pm     Reply with quote

Can use:

p { text-indent: 0.5in; }
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial