TWyPGn Posted March 22, 2009 Report Posted March 22, 2009 Hello, I want to indent the lines/paragraphs that also contain class. Plz see the following example: 2009 This is year 2009.hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello But it appears like this: 2009 This is year 2009.hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello The css and html I am using for this is as follows: p.indent { text-indent:-30px; margin-left:35px; } span.text { font-style: italic; font-weight: bold; } 2009 This is year 2009.hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello . How can I make all the lines indent? Thanks! Quote
jlhaslip Posted March 22, 2009 Report Posted March 22, 2009 (edited) Set a margin-left with class = indent Edited March 22, 2009 by jlhaslip Quote
Recommended Posts
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.