<html><div style='background-color:'><DIV>
<P>An embedded style tag will take precedence over your style sheet, as will an inline style definition. If you want to make sure the embedded takes preference you can add the attribute "!important" to the style (this will also override user defined style sheets).</P></DIV>
<DIV></DIV>
<DIV>Cutter</DIV>
<DIV></DIV>
<DIV><A href="http://www.falcon-knives.com/">Falcon Knives</A></DIV>
<DIV></DIV>
<P>
<P></P>----Original Message Follows---- <BR>From: "Lau" <LAU@GOLDENWEB.COM.AU><BR>Reply-To: javascript@LaTech.edu <BR>To: <JAVASCRIPT@LATECH.EDU><BR>Subject: [Javascript] changing style sheet properties <BR>Date: Fri, 24 Aug 2001 18:37:58 +1000 <BR><BR>I have a style sheet that I include in all my pages thus: <BR><BR><LINK href="default.css'" rel=stylesheet><BR><BR>it contains the following style definition: <BR><BR>TD.LstVl{ <BR>background:#FFFFE6; <BR>vertical-align:top; <BR>text-align:left; <BR>font:11px verdana; <BR>color:#000000; <BR>} <BR><BR>Now for one particular page I want to change: <BR>vertical-align:top; <BR>to <BR>vertical-align:middle; <BR><BR>I know that if I gave all my <TD>'s ID's then I could change them individualy using <BR>mytdid.style.vertical-align=middle <BR>but its impossible to do that as I'm generating my page using ASP and I won't know how many <TD>'s <BR>there will be. <BR><BR>There are several long and complicated reasons why I don't want to add another definition to my <BR>style sheet. <BR><BR>Thanks in advance for your help. <BR><BR>Lau <BR><BR><BR><BR><BR><BR><BR><BR>_______________________________________________ <BR>Javascript mailing list <BR>Javascript@LaTech.edu <BR>http://www.LaTech.edu/mailman/listinfo/javascript <BR></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>