WebSite X5Help Center

 
Stephen C.
Stephen C.
User

Html button  en

Autor: Stephen C.
Besucht 785, Followers 1, Geteilt 0  

I am inserting some HTML to create a button thus:

<input type="button" value="Refresh page" onclick="location.reload(true);" />

How can I set the color, background-color, font etc?

Gepostet am
4 ANTWORTEN - 1 KORREKT
Daniel W.
Daniel W.
User
Nutzer des Monats EN

Here an example:

<input type="button" style="background-color: green; color:yellow; font-size: 24px;" value="Refresh page" onclick="location.reload(true);" />

-----

Mehr lesen
Gepostet am von Daniel W.
Daniel W.
Daniel W.
User
Nutzer des Monats EN

Another example:

<input type="button" style="padding: 20px; border-radius: 10px; background-color: green; color:yellow; font-size: 24px;" value="Refresh page" onclick="location.reload(true);" />

-----

Mehr lesen
Gepostet am von Daniel W.