Ok, fixed. Found my mistake. I forget to escape % and #
when I copied the code from the .css to try it in .cfg !
This now works in the .cfg.
if anyone is interested. This allows the webpage generated by tex4ht
to have fixed width (which I prefer) but if viewed on mobile and small
screens, it wil
Opps, I copied the code with a missing ending extra } at the end.
Here is the correct code in cfg. It still gives same syntax error
--
\Css{@media only screen and (min-width: 100px) and (max-width: 960px) {
body{margin-top: 1em; margin-bottom:
I am trying to add this custom code into my .cfg file, using \Css{...}
that I always used, but it gives syntax error.
The code works fine if I add it manually to the index.css file
after compiling. But I need to put it to my .cfg file so it automatically
go inot each generated .css
The code i