How to make pseudo elements work while browser is in compatibility mode?

kaceta

New Member
\[code\] .divClassGreen{ border-bottom:4px solid white; position: relative;}.divClassGreen:before{ border-bottom:5px solid white; content: ''; position: relative; top: -6px; right: -6px; bottom: -6px; left: -6px;} .divClassGreen:after{ border-bottom:5px solid green; content: ''; position: absolute; top: -11px; right: -2px; bottom: -9px; left: -2px; }\[/code\]This is my css , but the before and after are not working when my IE 8 is in compatibility mode. Is there any solution for the same?
 
Back
Top