Instead of manually adding them, you can use
http://rafael.adm.br/css_browser_selector/ which is what the desktop,
iPhone and web versions use.


On Fri, Apr 26, 2013 at 8:50 PM, Houssam Salem <notifications@github.com>wrote:

> In assets/card_template.html:
>
> > +                  imageHeight = imageHeight / scaleFactor;
> > +                  imageWidth = imageWidth / scaleFactor;
> > +              }
> > +
> > +              img.height = imageHeight;
> > +              img.width = imageWidth;
> > +          } else {
> > +              img.height = 0;
> > +              img.width = 0;
> > +              img.src = img.src;
> > +          }
> > +      }
> > +    </script>
> > +    <style>::style::</style>
> > +  </head>
> > +  <body class="mobile ::class::">
>
> I guess all four can't hurt. Let's add them. I'm sure someone out there
> will find a use for them.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ankidroid/Anki-Android/pull/42/files#r3975448>
> .
>