![]() |
Forum Index : Windmills : WebMite web page
Author | Message | ||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1997 |
I am sending weather information to my phone with a WebMite, using code from TBS member LUC from this post HERE The HTML code I have is <br> <br> <br> <!DOCTYPE html> <head> <title>PAUL'S WEATHER</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <br> <body style="background-color: PowderBlue"> <CENTER><h1 style = "color: red">PAUL'S WEATHER</h1><CENTER> <br> <br> <CENTER><H1>TEMPERATURE...{temp} Deg. <H1><CENTER> <br> <CENTER><H1>HUMIDITY......{hum} % <H1><CENTER> </body> </html> For the font size I am using H1, and this is the result. ![]() As you can see the 'Humidity' is larger text although I used the same font. I know absolutely nothing about HTML code but on doing a search aapparently using H1,H2 etc. is no longer and they use CSS ?? Does anyone know how to get the fonts an even size. I tried a different browser but still the same. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2707 |
This is just a guess, perhaps the temp. line has been shrunk by the browser to make it fit. To test this add more dots to the humid. line and see if it shrinks to match. <CENTER><H1>HUMIDITY................{hum} % <H1><CENTER> PS. you may be able to move this thread to "Microcontrollers and PC projects". See Gizmo's Test post in Site News. Edit I may have just blocked moving this thread by replying, sory. Edited 2025-09-10 18:21 by phil99 |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9638 |
Not a problem - I will lock this one. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |