Closed gxlmyacc closed 8 years ago
style-set
has higher priority in css specification rules. Check CSS extensions in h-smile engine
and Style sets in H-SMILE core.
I know this, but I think it's not a good deal, which means I can't cover the style-set in other places.
You can override values defined in style sets by using !important modifier.
Well, it seems the only way. Thanks.
Hi, Andrew. I can't register sciter's new forum. because I don't receive email notifications after the registration. I want to get a new password, but the site tips: The e-mail could not be sent. Possible reason: your host may have disabled the mail() function.
now, I have a new problem, see this demo:
myStyle.css: [code] @set myStyle { div:root { background-color: red; } }
[/code] main.html: [code] <html> <head> <link type="text/css" rel="stylesheet" href="myStyle.css" /> <style type="text\css"> div { width: 100; height: 100; background-color: green; } </style> </head> <body style=""> <div>ssssdfsdf</div> </body> </html> [/code] You will see the color of div be red. it's not green