Report Bugs Here

Moderator: Mmiscool

User avatar
By aphawk
#54914 I'm using fixed, and are working ok :

Code: Select allslider x, 0, 1023
cssid htmlid(),"transform: rotate(270deg);position: fixed;top: 105px;left: 0px;"
slider y, 0, 1023
cssid htmlid(),"transform: rotate(270deg);position: fixed;top: 105px;left: 33px;"
slider z, 0, 1023
cssid htmlid(),"transform: rotate(270deg);position: fixed;top: 105px;left: 66px;"


I'm making a RGB Led controller , with 3 sliders.

But about the original bug :
There is another way to position text without use the   to make many colors in one line ?

Today I can't run the program I had saved , because when the program are Open, the   is replaced by blank spaces !
The only way is copy & past from my computer's notepad... and RUN.

Thanks !
User avatar
By Mmiscool
#54915 The following will precisely locate the div. The div will contain the text.
Code: Select allhtml |<div style="position:absolute;top:100; left:100;"> Some text </div>|
User avatar
By aphawk
#55352 Now I'm with a new problem about printing spaces in the screen, using wprint and returngui.

I'm using some WPRINT commands to output to screen some data returned by OpenWeather API.
This is one piece of the code :

Code: Select allwprint "Temp. Minima : "
wprint htmlvar(temp_min)
wprint "C      Temp. Maxima : "
wprint htmlvar(temp_max)
wprint "C"


This is the result in screen :

Temp. Minima : 26.11C Temp. Maxima : 32C

Where are the six spaces defined by this command wprint "C______Temp. Maxima : " ?

It seems that when I use WPRINT the additional spaces ( if there are two or more together ) inside are removed, including the additional ( more than one ) spaces at left and at right.

How I can resolve this, to make WPRINT respects the spaces in the text ?

I tried to use the text in a variable and use this variable with WPRINT, but the result is the same.


Thanks !