Answer the question
In order to leave comments, you need to log in
How to check block style in firefox?
In Google Chrome, this construction works:
$('.block').css('border'); //1px solid rgb(255, 0, 0)
$('.block')[0].style.border
$('.informer.this').css('border', '20px solid black')
Answer the question
In order to leave comments, you need to log in
Solution here
In short - shorthand css properties don't work (background, margin, border,..)
you need to request full ones, like:
$('.foo').css('border-left-color')
$('.foo' ).css('border-left-width')
$('.foo').css('border-left-style')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question