html - ID and class in css and their precedence -
<div id="idblue" class="blue"></div>
my application used in 2 different browsers.
i have defined id="idblue" in 1 broswer .css file , want browser take id , not class="blue" @ id placed first , takes precedence class.
what happening id , class getting implemented. need id implemented in browser. appreciate inputs.
i retaining class="blue" other browser works fine class="blue" , id="idblue" not defined in .css file of browser.
Comments
Post a Comment