开发者

First line text-indent in sIFR

I have a text block made whith sI开发者_如何学JAVAFR and I want to indent the first line.

Look at this image to see what I want:

http://alltutorials.hi2.ro/testimonial.jpg

I want the word WOW to be after the big quotes.

I searched the sIFR documention I used text-indent but it seems it doesn't work.

Thank's for the help,

Andrei

Paste the link because, it does not work directly.


I'm not that familiar with sIFR, but maybe a simple padding-left will do the trick? If it is treated as an inline element, it should not be repeated in the next few lines.


You can try styling it within sIFR, as Pekka said, something like this :

function sIFR_h1() 
{
  sIFR.replace(grau, {
  selector: 'h1, div.h1',
  css: 
      '.sIFR-root { letter-spacing:-1.66; font-size:42px; color: #36313d; [...]}'
    ,transparent: true  
    ,selectable: false      
  });
}


Don't think you can do this through CSS, though perhaps you could use the modifyContentString() callback to insert a few spaces?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜