Quantcast
Channel: Overriding css with jquery/javascript - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by planetsarecool for Overriding css with jquery/javascript

Trythis.style.cssText = "border: 1px solid red !important";or$('#table_1 tr:last td').css('border', '1px solid black !important');

View Article



Answer by Gert Grenander for Overriding css with jquery/javascript

If it's the TDs you're after, you need to address them:$(document).ready(function(){ $('#table_1 tr:last td').css('border', '1px solid black');});This code will wait for the DOM to be ready and then...

View Article

Overriding css with jquery/javascript

I have a table whose border is set as 1px solid silver from an external style sheet(some .css file). I have no control over this file.This is the css:my_table tbody td { font: 8.5pt verdana,...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images