I am using an Arduino Wifi Rev2 board and I am trying to orient my range slider to be vertical using the following code. The slider displays however it is displayed horizontally. My code is posted below and thanks in advance for the help.
client.println("padding: 0 5px;");
client.println("<input type=\"range\" orient=\"vertical\" id=\"range\" min=\"0\" max=\"9\" step=\"1\" value=\"3\">");
The above html code should work and it does display the slider. The rest of the code is printed as just text on the webpage.
I think you need to put and around your CSS
did it for you
<input type="range" class="classs_name" orient="vertical" id="derry" min="0" max="9" step="1" value="3">
to make life easier, use progmem to store your string, and read it when you invoke
i am pretty sure you know how to deal with progmem
that way you will be able to test your script using a raw html file (eg: my_script.html) and when it works, you paste the code back into progmem
@johnwasser: adding style did the trick
@Robin2: That website is in my bookmarks
@kassimsamji: Thanks for the edited code that helped as well.
Thanks for the help. I do alot of web programming and now combining the two with arduino has been an adventure sometimes a second pair of eyes helps alot!