Home Forums DITA and XMetaL Discussion CSS challenge Reply To: CSS challenge

Su-Laine Yeo

Reply to: CSS challenge

I think I have a solution. This one uses two statements:

section>title:before {
    content: “[Misplaced title] “;
    color:red;
    font-weight: bold;
}

section>title:first-child:before
{
content: “”;
color: Black;
}

Reply

Products
Downloads
Support