PDA

View Full Version : CSS "content" and Q Elements


Voltage Spike
08-26-2005, 10:09 AM
It would appear that iSiloX does not support the CSS "content" property, nor does it support the inline-quote ("Q") element. (When I convert the following document, the second paragraph is properly italicized but the first and third do not have any quotation marks.) Both items are extremely easy to implement, so perhaps I've done something wrong:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Page</title>
<style type="text/css">
/*<![CDATA[*/
q:before
{
content: "\201C";
}
q:after
{
content: "\201D";
}
q q:before
{
content: "\2018";
}
q q:after
{
content: "\2019";
}

q.unspoken
{
font-style: italic;
}
q.unspoken:before
{
content: "";
}
q.unspoken:after
{
content: "";
}
q.continued:after
{
content: "";
}
/*]]>*/
</style>
</head>
<body>
<p><q>Normal quote: <q>inner quote</q></q></p>
<p><q class="unspoken">Just some thoughts I had...</q></p>
<p><q class="continued">And I continue to type.</q></p>
</body>
</html>

Voltage Spike
09-06-2005, 03:45 PM
Even though I can probably guess the response to this issue, I'd like to hear back from the developers on this one.

iSilo
09-06-2005, 05:09 PM
You're correct that Q currently does nothing in iSiloX/iSilo, so it is something to consider for the future.