- 1

Why Internal CSS not working but Inline is perfect ?

29th Aug 2016, 11:16 AM
Parag
7 Answers
+ 3
write here your code
30th Aug 2016, 2:16 AM
Edson
Edson - avatar
+ 1
haven't you forgoten the selector?
30th Aug 2016, 2:16 AM
Edson
Edson - avatar
+ 1
if you use both of them un the same selector and the same attribute, webpage will execute the inline. inline is priority
4th Sep 2016, 7:35 AM
Suni Aji Sukarsa
Suni Aji Sukarsa - avatar
+ 1
write us ur code here !
9th Sep 2016, 12:10 PM
Otmane Essaadi
Otmane Essaadi - avatar
+ 1
bcz u have a mistake. write your code here. ^^
22nd Sep 2016, 8:00 PM
Moh Med
Moh Med - avatar
0
i think inline has higher priority over css in head or external file thats why we need to use important! to ovveride that priority if needed
4th Sep 2016, 4:54 PM
Stefan Ghita
Stefan Ghita - avatar
0
<html> <head> <style> .test-p{color:red;} </style> </head> <body> <p class="test-p">parag</p> </body> </html>
14th Sep 2016, 7:33 AM
Fatima Zainab
Fatima Zainab - avatar