hepabolu wrote: >Hello, > >can someone please explain why the following is happening? I have a >table and mark the rows with 2 classes, say class1 and class2. Class1 >changes the background color and the font to bold, class2 also changes >the background color (to something different from class1) and sets the >border to 3px solid. > >When I write XHTML and add the classes directly (<tr class="class1 >class2">) everything behaves as expected. However, when I add the >classes using javascript the border is not applied, but the background >color is. > >Does anyone know what happens and/or know how to solve this? > > > <code snipped>
Hi Helma, I noticed that you haven't received a response to your question. Would you please consider posting a URL to a publicly available page that displays your problem? This will greatly increase the chances of someone being willing or able to help you. Through a brief look at your code, I didn't see anything that jumped out at me as "wrong," but it's hard to view code in an email, nor do we get to see the entire page to ferret out if pieces that you have omitted are actually the ones causing the problem. So, a URL to a page sent to the whole list (not just to me) would be great. Thanks, Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ 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/
