Gerrit Bakker wrote:

Working with HTML+CSS+ASP, in ASP file using a class name as a variable see beneed this line:
<td class=<%= midyellow %>valign=top>
the <%midyellow %> ia a ASP variable.
In my CSS file there are two classes on witch could be into the ASP variable:

Okay, starting off with the classes you've provided below, neither of them say <% midyellow %>, if this variable is defined in your asp file please let us know what it comes out to be, from the looks it's a color variable which wouldn't really be a class.


Now, onto the padding issue, do you have anything in between the td tags? if it's like <td class="*center_page*" valign=top>&nbsp;</td> it should work out fine, but the class should call the css element unless the asp element references a css element like center_page or center_page_full

td.center_page {
 width:346px;
 background-color:#FFDA03;
 height:100%;
 padding-left:20px;
 padding-right:10px;
 padding-top:10px;
}

td.center_page_full {
 width:526px;
 background-color:#FFDA03;
 height:100%;
 padding-left:20px;
 padding-right:10px;
 padding-top:10px;
}

______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to