FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Does a complete CSS exist for WebDev
Does a complete CSS exist for WebDev
Débuté par John, 15 sep. 2008 01:11 - 1 réponse
Connectez-vous…
John
#1
Posté le 15 septembre 2008 - 01:11
Hi,
I'm wanting to utilize Cascading Style Sheets in WebDev. I'd like to change quite a few of the elements and possibly be able to select different CSS at runtime.
I'll start one item at a time.
Does a 'complete' CSS exist (I don't care what the style is) that references every WebDev control and each element of the control that I can look at and possibly copy and use as a startging point.
Thank You
John
Signaler
0
0
pat
#2
Posté le 15 septembre 2008 - 01:47
Hi John,
First thing, go to "Option for generating the HTML code" and uncheck all the items in the "readability of HTML code" section, the one in the left top corner.
WebDev is using CSS already. You will find the WebDev CSS stylesheet in the projectname_WEB folder.
If you want to style an element, say a link, create a style for it in the editor. Do not make any settings here, just create a style. Say you create the style "MyLink", have a look at the HTML code generated: you will find that your link has a class named "MyStyle". Something like <a href="xx" bla bla bla class="MyLink" >Link text</a>.
So now if you want to change the display of the link, just write the proper CSS rule. Say you want your link to be red:
a.mylink {color: #f00;}
Put all these rules into a .CSS file, in your projectname_WEB folder, then tell WebDev you want to use this stylesheet.
Go to Project > Style > Free CSS style sheet
You will find here an example I made for another purpose actually, but it uses an external CSS style sheet, "slimbox.css".
http://megusta.webdevtest.com/WD120AWP/WD120Awp.exe/CONNECT/Slimbox
--
Pat
http://ilikewd.free.fr
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte