Reputation: 15889
<div data-role="page" style="background:#000">
<a href="http://google.com">test</a>
</div>
As you can see here: http://jsfiddle.net/KCqqN/
Jquery Mobile appears to add a white color drop shadow, how to get rid of that?
Upvotes: 10
Views: 13688
Reputation: 1594
Very simple!
add code below before everything in your CSS:
* {
text-shadow: none !important;
}
Upvotes: 2
Reputation: 151
I would suggest setting your own link css in the head tag, then adding a "text-shadow= none !important;" tag to make sure you override whatever jquery does. And because !important overrides browser accessibility setting, I would also suggest making your text very dark and big and background very light or vice versa so as not to annoy your colorblind/vision-impaired users whose accessibility settings won't work
Upvotes: 0
Reputation: 66981
In your stylesheet (make sure it is below the jQuery mobile stylesheet)
Simply set the text-shadow yourself, to whatever you want.
.ui-body-c, .ui-overlay-c { text-shadow:0 0 0; }
In the jsFiddle it loads the jquery mobile css afterwards, so if you throw an additional tag in there (or use !important, better not to though) it'll trump it.
body .ui-body-c, body .ui-overlay-c { text-shadow:0 0 0; } // more specificity
Upvotes: 13