myshop-style-< style naam >:< style waarde >

Entity Value
Attribute(s) style
Type value
Relation document

The myShop additions mainly use the style attribute of elements to insert the additions. Most additions are not a problem. There is one exception: adding style values based on the function and/or variable. In these situations the myShop myshop-style-<name>:<value> can be used. The myshop-style additions only adds the already entered style-sheet attribute to the style attribute and does not modify the element. The name and value of the style sheet attribute to be added is incorporated into the definition.

The example below shows both the background colours and the text colours of the <td> element set up with the myshop-style addition. Values not dependent on functions and/or variables and which are therefore static, can be directly entered into the style attribute; it is not necessary to use the myshop-style-<name>:<value> addition.

<td style="myshop-style-backgroundcolor:{$color(0)};myshop-style-color:{$color(1)};font-style:bold;font-family:cursive">
        this is an example


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment