warobushek Posted June 24, 2014 Report Share Posted June 24, 2014 Страница http://shopst.ru/catalog/otoplenie-i-vodosnabzhenie/kotly-otopleniya/protherm/gazovyy-kotel-protherm-23-mtv-gepard/?dev=1&clear_cache=YФайл стилей http://shopst.ru/bitrix/templates/capitalim2/template_styles.css?1403593016155960Правило не срабатывает.item_info.card2 { background-color:#cccccc;} Вроде все корректно в css, netbeans не ругается ни на что. Почему-то фаерфокс и хром игнорируют это правило.Впервые с таким столкнулся и даже интересно в чем может быть причина? Quote Link to comment Share on other sites More sharing options...
0 DivMan Posted June 24, 2014 Report Share Posted June 24, 2014 я чо та в HTML этого класса не нашёл Quote Link to comment Share on other sites More sharing options...
0 Great Rash Posted June 24, 2014 Report Share Posted June 24, 2014 А почему у вас стили находятся не в <head>? Quote Link to comment Share on other sites More sharing options...
0 Switch74 Posted June 24, 2014 Report Share Posted June 24, 2014 уберите ; после } перед применением данного правила Quote Link to comment Share on other sites More sharing options...
0 warobushek Posted June 24, 2014 Author Report Share Posted June 24, 2014 круто , Switch! спасибо! а стили пока писал в html, чтобы не портить чистоту эксперимента. премного благодарен, интересно) Quote Link to comment Share on other sites More sharing options...
Question
warobushek
Страница http://shopst.ru/catalog/otoplenie-i-vodosnabzhenie/kotly-otopleniya/protherm/gazovyy-kotel-protherm-23-mtv-gepard/?dev=1&clear_cache=Y
Файл стилей http://shopst.ru/bitrix/templates/capitalim2/template_styles.css?1403593016155960
Правило не срабатывает
.item_info.card2 {
background-color:#cccccc;
}
Вроде все корректно в css, netbeans не ругается ни на что. Почему-то фаерфокс и хром игнорируют это правило.
Впервые с таким столкнулся и даже интересно в чем может быть причина?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.