-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have created a zul page that contains a grid. Initially, in order to override the alternating white/grey background of the rows, I have included in each of the rows tag the following property:
style="background:#FFFFFF; border: 1px solid white;"
This worked as expected. However, in order to improve the efficiency of the application, I moved the style properties in a CSS file: in each of rows the aforementioned code was replaced with sclass="white-row"
, and inside the specified CSS file the following code, as expected, was added:
.white-row{
background:#FFFFFF;
border: 1px solid white;
}
The problem is that it doesn't work. It's not a problem related to the referencing of the CSS file, as it contains other CSS properties which are used in the zul file without any problem. Does anyone know where the problem may be? Thanks in advance
.white-row>.z-row-inner{
background:#FFFFFF ;
border: 1px solid white;
}
Try this.
I tried it on sandbox it is working fine. Can you share some part of your code? I am assuming you are setting [sclass = "white-row"] to each row instead of rows.
Asked: 2014-08-21 12:36:44 +0800
Seen: 8 times
Last updated: Aug 21 '14