Hi. I have a javascript code inserted before closing tag </body> that is meant to change the color of a table row when the mouse is placed over it. It works only when I remove the css file. Please advise what is the problem, I need them working together. The Javascript code is as follows:
eburlea 23
Junior Poster
Recommended Answers
Jump to PostCan you post the CSS code and the relevant HTML for the table? Maybe you have a CSS rule that's overriding what you're trying to do in JavaScript.
Jump to PostIt's probably because your table cells in the
league_stands
table all have eitherblue-even
,blue-odd
, orblue-header
as CSS classes. All of those classes provide background-colors that are probably overriding your JavaScript. Maybe what you should could try instead is create a new CSS class for …
Jump to Postare you sure you've saved your files in utf-8 charset format since you are so eager in instructing the interpreter what chaset is to be used when parsing your content?
All 10 Replies
eburlea 23
Junior Poster
dcdruck 11
Light Poster
eburlea 23
Junior Poster
eburlea 23
Junior Poster
eburlea 23
Junior Poster
dcdruck 11
Light Poster
Troy III 272
Posting Pro
eburlea 23
Junior Poster
eburlea 23
Junior Poster
eburlea 23
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.