csierra
Posts: 123
|
| Posted: 09/19/2006, 12:46 PM |
|
Hi, This is a question about the class "Controls" in html; we see in the Style.css under the form styling options something like this
.Controls td {....
I´ve added one that is
.Controls input {.... and works ok, no errors but the issue is that every input is treated under this directive, I would like to affect only text, not buttons so the sollution would be to change the class for buttons, or do I have another option? The exact question is, if I do change the class for buttons in HTML, e.g.
<tr class="Controls">
<th>Nombre Cluster</th>
<td><input maxlength="50" size="64" value="{NombreCluster}" name="{NombreCluster_Name}" style="WIDTH: 422px; HEIGHT: 22px"></td>
</tr>
But what if we do have extra buttons inside the form (record)...
<tr class="Controls">
<th>
<!-- BEGIN Button Button_GetFile -->
<input id="Button2_Id" type="submit" value="Bajar Curriculum" name="{Button_Name}">
<!-- END Button Button_GetFile --></th>
<td> {Label1}</td>
</tr>
The issue here is that if I define a different stye for .Controls input {.... it affect those buttons too, wich I don´t want to, the sollution is to define a different class for that input, e.g. Class="ButtonA" the question is, doing so affects CCS inner workings when publishing and generating code? Any ideas on a workaround?
Another question, why is not Codecharge Studio using the HTML featue <<fieldset>?
Thanks
_________________
Yes! I Can!!! |
 |
 |
peterr
Posts: 5971
|
| Posted: 09/20/2006, 12:50 AM |
|
You can modify Style.css as much as you like, or create a different/own style definitions. CCS only provides a style wizard to preset certain common css classes and attributes, while you can extend, modify or replace them.
Quote :Another question, why is not Codecharge Studio using the HTML featue <<fieldset>?
Strange question. Codecharge Studio is not doing millions of other things (yet)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|