Chat freely about anything...

User avatar
By j0hncc
#18068 Adding the middle line here will change all buttons to 80 x 50 pixels:
Code: Select all        buf = buf.."<h1> ESP8266 Web Server</h1>";
        buf = buf.."<style> button { height: 50px; width: 80px; }</style>";
        buf = buf.."<p>GPIO0 <a href=\"?pin=ON1\"><button>ON</button></a>&nbsp;<a


Styling web pages is a big subject though :)
http://www.w3schools.com/css/css_examples.asp

Cheers,
John
User avatar
By Ambro
#18148 Thanks a lot John: it is workin very well now !
Just one more thing: how to increase the size of the "ON " and "OFF " legends ?
( I have good size on the PC but very small size on my pohone ! ).
Thanks a lot for the assistance,
regards,
Ambro
User avatar
By j0hncc
#18341 Hi Ambro,

Check out the link I sent you before. Find something on that page that seems relevant, and try it. If it doesn't work, post again and show the code that you tried. I'm sure someone here can then offer corrections.

Cheers,
John