General area when it fits no where else

Moderator: Mmiscool

User avatar
By joeman2116
#53819 I added a slider to adjust the temperature control --- It works fine.

The problem it always places itself to the left I would like have it display in the center.
I tried various formats but none worked....


wprint "<table align='center' width='254' bgcolor='lightblue' border='5' cellpadding='5'>"
wprint "<td>"
slider setp, -12, 40
Button "<B>Set A/C Assist Fan TEMPERATURE</B>",[setpt]
textbox setp
cssid htmlid(), "background-color:lightblue;text-align: center;display:block;width:254px"
wprint "<th</th></table><br>"
wprint "<br>"
wprint "<table align='center' width='250' bgcolor='LIGHTBLUE' border='5' cellpadding='6'>"
wprint "<td>"
wprint "<b>A/C VENT TEMP= <b/>"
wprint htmlvar(curr)
wprint "(C)"
wprint "</td>"
wprint "<th</th></table><br>"


Thanks

Joe