Hi, I’m trying to have a background image for a label in a form with css but didnt work with servoy 4.1, is this supported in this version of servoy?
I used the following CSS class
label.lbl_logo
{
background-image: media:///logo.png;
color: #393939;
}
Thanx in advance
And Here comes another issue, does 4.1 support background-color property for Labels?
Thanx
Update on the post, I have a label and I put background-color: red; property to its css class, but the background color didnt change. Then I put a background color (background) from the property pane of the form designer in servoy, still there was no change in the label’s background color. Was i missing something here? I’m using Servoy 4.1
Thanx a lot in advance
Labels have transparency enabled by default. When you want to see a background color you have to disable this.
and one more question on css,
Does servoy5 support css with repeating background images?
thanx
supunthri:
Does servoy5 support css with repeating background images?
Not in Servoy CSS no.
You can however use it in HTML inside a label/HTML_AREA.