I remember back when Data Forms were just being implemented, I made the CSS suggestion for Data Forms. Unfortunately, my suggestion was misinterpreted.
This is what happens currently:
<tr class="form-row"> <td class="form-labels"><span class="form-label">First Name:</span></td> <td class="form-values"><span class="form-value first-name"> <input type="text" size="25" name="first-name" value="" class="form-text"> <span class="form-message"></span></span></td> </tr>
Thus, we are unable to use CSS to specifically manipulate the appearance of the label “First Name:”.
If my suggestion was interpreted correctly, this should be happening instead:
<tr class="form-row first-name"> <td class="form-labels"><span class="form-label">First Name:</span></td> <td class="form-values"><span class="form-value"> <input type="text" size="25" name="first-name" value="" class="form-text"> <span class="form-message"></span></span></td> </tr>
In this way, we could use CSS to manipulate ANY SPECIFIC ITEM with ANY PARTICULAR ROW. For instance:
.form-row.first-name .form-label {font-weight: bold;} .form-row.first-name .form-value {color: red}
I'm assuming this is a bug.
Well, we can join data forms fields in one <tr> using "join" property so we cannot add classes in this way. But we can add class with row numbers like:
What do you think?
Bartłomiej Bąkowski @ Wikidot Inc.
';.;' TeRq (Write PM)
This could work… :)
So let's implement this wish :)
Bartłomiej Bąkowski @ Wikidot Inc.
';.;' TeRq (Write PM)
Done.
Bartłomiej Bąkowski @ Wikidot Inc.
';.;' TeRq (Write PM)