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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -