Jump to content

[SOLVED] indenting text


M.O.S. Studios

Recommended Posts

hey guys,

I would like to have a 3px space on the left and right of the text in the  the text in the "<blockquote></blockquote>" .

 

here is my css

.comments:before {
  background: transparent url(../../images/tables/comments/tr.png) scroll no-repeat top right;
  margin-bottom: -20px;
  height: 30px;
  display: block;
  border: none;
  content: url(../../images/tables/comments/tl.png);
  padding: 0;
  line-height: 0.1;
  font-size: 1px;
}

.comments:after {
  display: block;
  line-height: 0.1;
  font-size: 1px;
  content:  url(../../images/tables/comments/bl.png);
  margin: 0 0 0 0;
  height: 30px;
  background: #000000;
  background: transparent url(../../images/tables/comments/br.png) scroll no-repeat bottom right ;
  padding: 0;
}

blockquote {
   background: #DA1B1B;
   align='center';
   text-align: left;
}

.video-title { 
    text-align: center;
    font-weight: bold; 
    font-size: 50px;
}

.video-title .video-subtitle{
    text-align: center;
    font-style: italic; 
    font-size: 20px;
}

p.comment-user { 
    text-align: right;
    font-style: italic;
}

</style>

here is my html

<blockquote class="comments"><p>wow great vid guys, keep up the good work</p><p class="comment-user">Me</p></blockquote>

 

 

any ideas?? thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/158387-solved-indenting-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.