2

Is there a way to target the Android default browser in CSS? Something similar to either the <!--[if IE 6]><![endif]--> tags, or the @-moz-document url-prefix() {}?

Thanks!

  • possible duplicate of [Is there any way to detect only Android browsers with CSS?](http://stackoverflow.com/questions/5771372/is-there-any-way-to-detect-only-android-browsers-with-css) – Kyle Jun 13 '13 at 13:44
  • Why would you want to target Android specifically? – cimmanon Jun 13 '13 at 14:09
  • 3
    Because the default browser's inconsistent adherence to standards is almost as bad as Internet Explorer! – PassKit Jul 18 '13 at 23:23
  • 1
    Because the vastly different screen sizes and resolutions combined with lack of support for floats in Android Mail makes designing email that works on Android as well as everything else very, very difficult. – Deborah Sep 18 '13 at 02:11

1 Answers1

1

No Way. There are not Conditional comments or special CSS-Prefixes for Android!

You can check the UserAgent with JavaScript or jQuery and embed then a CSS only for Andoid.

skull3r7
  • 215
  • 1
  • 4
  • 9