I know this is totally gonna get downvoted, because although I think is a legitimate concern and I'm sure other people have them, it's a "codeless" question. :) Hopefully I get an answer before it gets on hold.
I always make sure not to use unnecessary inline styles. But today I noticed, there is a script forcing inline styles in my markup and I can't smoke it out. I will provide my website link at request (I don't wanna come off like I'm fishing for traffic), that way you can see it but basically what happens is my website loads fine, then after I hover or click on a certain element, an inline style magically appears.
Here's some visual aid


Thank you
So, whenever you use jQuery to apply styles, it applies them inline, to the style="" attribute. Check your jQuery for the "mystery styles" that you are having trouble with. The grep command is your friend.
Good luck!
No comments:
Post a Comment