Jump to content

Recommended Posts

Posted

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!

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...
×
×
  • Create New...