-->
Page 1 of 1

CSS Example ​(3.0 branch only)

PostPosted: Sun Mar 19, 2023 7:28 pm
by stratton.gary
Not seeing the test.css file but basic code works.
What am I doing wrong?

Gary

Re: CSS Example ​(3.0 branch only)

PostPosted: Wed Mar 22, 2023 8:38 am
by stratton.gary
This is what I have:
css {test.css}
textbox test
dropdown test2 ,"1,2,3,4,5"
button "Click me", [branch]
wait

[branch]
print "You clicked me and css stll did not work"
wait

this is what I get: Error at line 1: Failed to reach end of input expression, likely malformed input
I have tried "test.css" and no quotes also.

Re: CSS Example ​(3.0 branch only)

PostPosted: Fri Mar 24, 2023 9:37 am
by rooppoorali
Hello, sorry. The question is not clear to me. Are you trying to create an ESP8266 web server using CSS? And missing the test.css file?

Re: CSS Example ​(3.0 branch only)

PostPosted: Fri Mar 24, 2023 3:39 pm
by stratton.gary
Example code:

css "test.css"
textbox test
dropdown test2 ,"1,2,3,4,5"
button "Click me", [branch]
wait

[branch]
print "You clicked me"
wait
-------------------------------------------------------
The test.css file has been uploaded to /uploads/test.css
The basic example code is not seeing this css file. I don't know why.
Gary