WebSite X5Help Center

 
Michel Wauters
Michel Wauters
User

Css : pls add text-decoration-color  en

Auteur : Michel Wauters
Visité 938, Followers 1, Partagé 0  
Mots-clés :: css,website x5 pro 2020.3

Hello!

I use the most recent version of Wsx5 Pro (2020.3.7 64bit).

I would like to use "text-decoration-COLOR" but this is not recognized by your software.  According to this (very useful) site it is supported by every browser. https://www.w3schools.com/cssref/css3_pr_text-decoration-color.asp

Will you add this possibility to the next version?  (Maybe you should look and see if other properties should also be implemented.)

Thank you and... Merry Xmas !

Posté le
16 RéPONSES - 7 UTILE
JJ. JUAG
JJ. JUAG
User

In the text object, the color etc. for the text can be selected, which is then used when the homepage is generated.

Example:https://www.naturbiokraft.ch/

JJ.

Lire plus
Posté le de JJ. JUAG
Michel Wauters
Michel Wauters
User
Auteur

@JJ.JUAG

Yes, but this is not what I mean.

I don't use object "text" I only use object "HTML code" and its CSS tab.

When CSS properties are recognized by the software they appear in blue (look at my screenshot below).  When a CSS property is NOT recognized by the software it appears in black (and there is no change when you open the page to display it).  This being said, "text-decoration-color" being supported by browsers this property change the color when you export your Wsx5 project and look at the site, the files and folders being on a server.

This is just some kind of detail WHICH SHOULD BE IMPROVED by INCOMEDIA DEVELOPERS.  Users cannot change anything to this.

Lire plus
Posté le de Michel Wauters
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notification about your idea to the company employees, expect an answer from them here in the comments. Due to the holidays, the reply may be delayed (https://helpcenter.websitex5.com/fr/post/235811).

Lire plus
Posté le de Aleksej H.
Michel Wauters
Michel Wauters
User
Auteur

Thank you Aleksej!

Lire plus
Posté le de Michel Wauters
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Michel Wauters
... ... ...  I don't use object "text" I only use object "HTML code" and its CSS tab. ... ... ... ... ...  
...(It > En) ... part idea, which could also be good, ... maybe I didn't understand, but with the HTML Code Object there are no limits of any kind and there haven't been any, ...and is used to apply EXTRA codes...
... we know that the Chromium browser of the internal engine is limited; ... see Video / Sound, etc, etc ...   
Michel Wauters

... ... ..."text-decoration-color" being supported by browsers this property change the color when you export your Wsx5 project and look at the site, the files and folders being on a server. ... ... ...  

  ...! ... however, with your v.PRO you do not need to export to the network to check, in fact you can use an alternative browser in Preview, and check directly and immediately ...
.... sorry for the translation; ... maybe experienced English users of the program can explain it better ...

Hello, ciao

*

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

Hello,

I confirm this behaviour under Chrome, and not Chromium !

And idem with, IE, Safari, Torch, Firefox,

Like said Michel the code is not recongnized into edit mode.

So it's a bug into WSX5, about CSS support, so the HTML object has some limitation...foot-in-mouth

Enjoy !

Axel

Lire plus
Posté le de Axel  
Giuseppe Guida
Giuseppe Guida
User

Ciao, nell'Oggetto codice HTML Scheda Avanzata/Codice CSs non vanno inseriti i tag <style></style>

A me funziona tutto regolarmente e il testo viene sottolineato in rosso...

Lire plus
Posté le de Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

Scheda Esperto/Codice CSS...

Lire plus
Posté le de Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

And the text is regularly underlined in red ...

Lire plus
Posté le de Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

It is therefore important that the <style> </style> tags should not be inserted in the HTML Code Object Advanced Tab / CSS Code.

Ciao e Buone feste a tutti dall'Italia

Lire plus
Posté le de Giuseppe Guida
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Axel  
Hello, I confirm this behaviour under Chrome, and not Chromium ! ... ...  And idem with, IE, Safari, Torch, Firefox, Like said Michel the code is not recongnized into edit mode. ... ...  So it's a bug into WSX5, about CSS support, so the HTML object has some limitation... Enjoy ! Axel

(It > En) ... no! ... to use the EXTRA code you must be an expert and know the program well ...
... the <STYLE> tag should be used in the declarations in the EXPERT / HEAD sections at Step1 or Step4 (v. STAMP Michel); ... instead in the HTML Code Object the code must be applied directly, without the <style> tag (v. STAMP Giuseppe),  the mistake you made cool...wink... ciao 

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

OK KolAsim....

I am not an expert probably, but why the usage of CSS coding into HTML object is not same usage at step 1..
A clarification should be necessary to explain differences to avoid to do other errors foot-in-mouth

And like you can see the code is not anymore detected by he software.

And what can you said with your deeper expertise about this code not recognized into this section ?

because the red color is not displaying ..... 

Enjoy!

Axel

Lire plus
Posté le de Axel  
Axel  
Axel  
User

Oups sorry. it works with the code into step 1 like Guiseppe's explanation.

But why into the CSS part of HTML, this code is not working ? because a placement

with a pure HTML file this section

<style>
p {
text-decoration: underline;
-webkit-text-decoration-color: red; /* Safari */
text-decoration-color: red;
}
</style>

between <head> </head>   or <body> </body> is working fine

and not with WSW5 !!! into HTML object. Why ?

Enjoy!

Axel

Lire plus
Posté le de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

  <style>  </style>  

... v.STAMP Giuseppe:

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

  <style> ***code*** </style>  

... even if it is wrong to use it in the HTML tab of the HTML Code Object, it can still work in runtime if it is compatible with the general code ...

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

thank you for clarification..

I don't know why not working into HTML object but it's clear...
or not !!! foot-in-mouth

Axel

Lire plus
Posté le de Axel