c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine
http://sciter.com
Other
2.11k stars 224 forks source link

I can't register sciter's new forum. #1

Closed gxlmyacc closed 8 years ago

gxlmyacc commented 8 years ago

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; } }

div {
  style-set: myStyle;
}

[/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

pravic commented 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.

gxlmyacc commented 8 years ago

I know this, but I think it's not a good deal, which means I can't cover the style-set in other places.

c-smile commented 8 years ago

You can override values defined in style sets by using !important modifier.

gxlmyacc commented 8 years ago

Well, it seems the only way. Thanks.