Click to See Complete Forum and Search --> : Beginner Question css & javascript
DKD1121
12-18-2007, 05:22 PM
I am starting to learn CSS and would like a quick answer if possible about what special things I should watch for in making javascript work within one page of a site or within every page on a site that is formatted with css.
If I've used some awkward terminology- I'm a beginner in css but not HTML & web design.
dtm32236
12-18-2007, 06:34 PM
They have nothing to do with eachother. I think that you'll have to be more specific.
Of course, you can use JavaScript to make something be styled with CSS. Something like:
<a onclick="someID.style.visibility='hidden'">hide div</a>
<div id="someID">
....
</div>
you know?
but otherwise, they're completely unrelated. JavaScript generally wouldn't change the way your CSS behaves.
maybe I don't understand the question correctly though.