内容:公开报价显示为单引号

时间:2016-09-02 18:56:02

标签: html css twitter-bootstrap

我正在使用内容:开放引用,我第一次使用它时,看起来很好,但第二次是单引号而且不是我想要的。这是一个显示问题的jsfiddle。

https://jsfiddle.net/rx3nu2hv/

HTML

 <div class="row-fluid">
        <div class="col-sm-6 col-md-6">
            <div class='testimonial'>
            <blockquote><p>John doe provides an excellent service in a record time.  We needed him to design a mobile compatible website and he was able to complete the job earleir than we had anticipated and with higher quality than you would expect from most.</p></blockquote>
                <div class='testimonial-left'>
                    <p>Jane Doe</p>
                    <p>Software Developer</p>
                </div>
            </div>
        </div>
        <div class="col-sm-6 col-md-6">
            <div class='testimonial'>
            <blockquote><p>John Doe provides an excellent service in a record time.  We needed him to design a mobile compatible website and he was able to complete the job earleir than we had anticipated and with higher quality than you would expect from most.</p></blockquote>
                <div class='testimonial-left'>
                    <p>Jane Doe</p>
                    <p>Software Developer</p>
                </div>
            </div>
        </div>
    </div><!--/row-fluid-->

CSS

.testimonial blockquote
{

  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";

}

.testimonial blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  vertical-align: -0.4em;
}

.testimonial-left
{
float:left;
margin-left:10%;
}

2 个答案:

答案 0 :(得分:1)

您从未将colpivot.string <- "create or replace function colpivot( out_table varchar, in_query varchar, ...." dbGetQuery(con, colpivot.string) 设置为close-quote

与普通句子一样,双引号内使用单引号!

blockquote:after

Updated Fiddle

答案 1 :(得分:0)

因为您需要在打开另一个双引号之前关闭双引号。 如果你不关闭它,它会显示单引号,将第二个引用视为第一个引用的一部分。 所以你需要陈述一个&#34;。推荐的块引用:&#34;并关闭它。 否则你需要在illustrator或photoshop中对它进行处理并将其导出为文件,然后你可以将它放在任何你想要的地方。 希望能帮助到你。 干杯