How could I change the CSS to shade every-other .form_element background?
In other words, say I have mulitiple elements in my form. I want the first element to have an #FFFFFF background, the second element an #CCCCCC background, the third element an #FFFFFF background, the fourth element and #CCCCCC background and so on.
I know this is doable, does anyone know how to write the CSS?
I have modified the css for the default>css>style1.css as;
.form_element {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
float: left;
margin-left:30px;
margin-top:8px;
margin-bottom:8px;
padding-bottom: 10px;
border-bottom:1px solid #666;
width:85%;
}
Thank you in advance!
In other words, say I have mulitiple elements in my form. I want the first element to have an #FFFFFF background, the second element an #CCCCCC background, the third element an #FFFFFF background, the fourth element and #CCCCCC background and so on.
I know this is doable, does anyone know how to write the CSS?
I have modified the css for the default>css>style1.css as;
.form_element {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
float: left;
margin-left:30px;
margin-top:8px;
margin-bottom:8px;
padding-bottom: 10px;
border-bottom:1px solid #666;
width:85%;
}
Thank you in advance!