开发者

Remove styling from q element

开发者 https://www.devze.com 2022-12-29 10:13 出处:网络
On the page http://phor.net/personal there are a bunch of q 开发者_如何学运维elements but they all display with quotes around them (OS X 10.6.3 / Chrome 5). I\'d like to prevent that. Is this possible

On the page http://phor.net/personal there are a bunch of q 开发者_如何学运维elements but they all display with quotes around them (OS X 10.6.3 / Chrome 5). I'd like to prevent that. Is this possible?


This is what the <q> tag is for! It literally means "quote". Use Internet Explorer, or some other non-standards-compliant browser and they won't show up.

Otherwise, in order to disable the generated content, you can insert this CSS rule into your stylesheet:

q {
    quotes: none;
}

Or, if that doesn't work,

q {
    quotes: "" "" "" "";
}


You can reset them:

q:before,q:after{content:''}
0

精彩评论

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