HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › css @media parsing › Re: Re: css @media parsing
We have a similar problem where we have the following in our css
@media screen and (-webkit-min-device-pixel-ratio:0) { div.gridDefault .ASC, div.gridDefault .DESC{
display: -webkit-inline-box;
}
div.cellIn {
display: table-cell;
padding-top: 0px;
width: 20px;
}
}
But we are getting a org.w3c.css.sac.CSSException: Encountered “and” at line 1, column 34370.
> Was expecting one of:
> …
> “{” …
> “,” …
>
> at com.steadystate.css.parser.SACParser.parseStyleSheet(Unknown Source)
> at org.zefer.html.doc.css.d.Ò00000(Unknown Source)
> at org.zefer.html.doc.css.c.super(Unknown Source)
> at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source)
> at org.zefer.pd4ml.PD4ML.o00000(Unknown Source)
> at org.zefer.pd4ml.PD4ML.render(Unknown Source)
Can you please let me know the solution to this issue?