Style tags

Hi All

I tried to use the HTML tags

to

in the style file.
I experimented in the style file with something like

h3
{
  color: blue;
  font-family: LucidaGrande;
  …
}

Before I give up, I would like to be sure it’s not supported. Is it planned in a future release? Otherwise I would like to make a request. I think it would be very helpful, for example for built in HTML based help, concept descriptions (concept help) etc. What’s your opinion?

We solve the problem currently with inline css styling which works, it would just be much more elegant, more consistent and easier to maintain in the style file, as inline styling is mixing content with presentation.

Servoy 7.3

Regards,

PS: I couldn’t find a list of supported style tags in the documentation, any hint is appreciated.

Hi, Robert.

Servoy only supports a sub-set of the CSS tags, and the ‘hn’ tags are not part of that sub-set. See below:

https://wiki.servoy.com/display/public/DOCS/Supported+CSS+style+properties

I cannot speak to future releases…perhaps, one of the Servoy engineers would like to comment.

Also, I agree with you and would like to see the CSS sub-set expanded (especially, when it comes to stylizing buttons).

I hope this helps!

Hi Kim

Thanks for sharing your experience and knowledge. The Supported CSS style properties are a very useful overview of the supported properties. Additionally, I would appreciate a page called something like Supported CSS/Servoy tags, i. e. a list with Servoy supported tags like button, field, dbtreeview, form.grid grid_header , label.gridheader and so on. Currently it’s a matter of trial and error to found out what tags are and are not supported and that is very time consuming.

Best regards,