Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove styling from q element

Tags:

css

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?

like image 457
William Entriken Avatar asked May 08 '10 20:05

William Entriken


People also ask

How do you delete an element style?

You can remove CSS style properties from an element by setting the property to a null value, e.g. box. style. backgroundColor = null; . When an element's CSS property is set to null , the property is removed from the element.

Are quotation marks necessary in HTML?

They aren't required but they're good form because they increase readability and crease potential errors.


1 Answers

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: "" "" "" "";
}
like image 176
amphetamachine Avatar answered Sep 28 '22 16:09

amphetamachine