PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → add css webdev 18
add css webdev 18
Débuté par HypNo, 20 nov. 2014 15:25 - 1 réponse
Posté le 20 novembre 2014 - 15:25
Hello

I saw almost every examples but I can't find anything about adding external css for a button, or a menu.

I already imported the css into my project but when I go to the style of the button I have no idea how to define the css in the button.

Can anyone tell me how I do this?

Best regards
Posté le 24 novembre 2014 - 13:48
Hi,

What I've done in versions prior to 19 is simply wrap the buttons with a

Then initialize the butt with the appropriate class. Also if memory serves me correctly in an older project I did something like:


And then in the global of the project I assigned the class name that I wanted to use and it would get replaced without any additional stringbuild() / replace() functions.

Cheers!
Ken

PS. Make sure and keep your buttons styles pretty blank so that your div will handle the presentation of how the button should look.