Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26337

    Selecting an element based on multiple elements doesn’t appera to work. For example div.a.b {font-weight: bold} isn’t possible with pd4ml.

    Is there a workound for this problem?

    Reto

    <?xml version='1.0' encoding='utf-8' ?><br /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><br /> <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><br /> <head><br /> <meta content='text/html;charset=UTF-8' http-equiv='Content-Type' /><br /> <style><br /> body .x div.a.b {<br /> color: green; }<br /> </style><br /> </head><br /> <body><br /> <div class='x y'><br /> <div class='a b c d'><br /> asdfsadf<br /> </div><br /> </div><br /> </body><br /> </html>

    #27868

    For the particular HTML sample a workaround would be to change the style to
    <br /> <br /> body .x div.a {<br /> color: green;<br /> }<br /> <br />

    PD4ML does not support selectors combine multiple classes, like “div.a.b“.

    We’ll add support for it to the forthcoming release.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.