Jump to content

Android Only Css


MargateSteve

Recommended Posts

I have inherited a site which was designed only using 1 browser (I think) as a testing platform. As a result, the site looked completely different in a browsers and there were a lot of issues with elements appearing incorrectly and often covering other elements.

 

Until I find the time to completely redesign it I have implemented a dirty fix in the form of a conditional statement based on browser detection. This has worked everywhere except on Android devices including Opera mini.

 

Is there a way to detect it is an Android device and implement CSS based on that?

 

EDIT: I forgot to mention, the layout is working fine on iPhones both through Safari and Google do am not looking to use any media screen conditions at this time. This is the way I will go eventually but currently it is just

Android devices I need to accomodate.

Thanks

Steve

Link to comment
https://forums.phpfreaks.com/topic/270950-android-only-css/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.