移除行內樣式:則外部樣式就起作用了!
引入:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
</script>
火狐 IE都有效:
function removeBlackColor(){
var spans = $("#scrollText span");
spans.css("color","#f00");
};
$(document).ready(function(){
removeBlackColor();
});