Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] :active doesn't work when element has inline-css Reply To: [Solved] :active doesn't work when element has inline-css

#206721
shaneisme
Participant

1) Your CSS calls for #site_index .square-box:active, there is no #site_index.
2) Even removing that, yes inline styles will overwrite :active, :hover, etc.

But, you can check this out: https://css-tricks.com/override-inline-styles-with-css/

Maybe that’ll help.