Tuesday, 15 June 2010

html - Ignore CSS on every smartphone -


I would like to ignore a CSS from my website on smartphone.

Here is my CSS I would like to ignore:

  is a [http://www.blogspot.com], [http: // localhost / wordpress / Ireland / : // localhost / wordpress / france / "], [href =" http: // localhost / wordpress / spain / "], a [href =" http: // localhost / wordpress / portugal / "], a [href = "Http: // localhost / wordpress / canary-island /"], a [href = "http: // localhost / wordpress / africa /"], a [href = "http: // localhost / wordpress / central- America / "], a [http: // localhost / wordpress / indonesia /"], a [href = "http: // localhost / wordpress / carribean /"] {pointers-events: none; cursor: default;}  

Maybe I have to use it:

  @ media only Screen and Min (Device-width: 320px) and (Max-Device-width: 480px) {/ * Styles * /}  

I really can not understand, help you Thanks!

Edit:

  @ Media (minimum-width: 600px) {one [href = "http: // localhost / wordpress / island /" ], A [hr = "http: // localhost / wordpress / france /"], a [Href = "http: // localhost / wordpress / spain /"], a [href = "http: // localhost / wordpress / Portugal / "], a [href =" http: // localhost / wordpress / canary- [http: // localhost / wordpress / central-america / "], a [href =" http: // local host / v Urdpress / Indonesia / "], a [href =" http: // localhost / wordpress / carribean / "] {pointers-event: auto; Cursor: default; }}  

You almost have it.

To ensure that you should be limited to the limit, but I think most of the smartphones are less than 600 px, so the following should work for you.

  @ media (minimum-width: 600px) {one: http: // localhost / wordpress / irland / "], a [href =" http: // localhost / Wordpress / france / "], a [" http: // localhost / wordpress / spain / "], a [href =" http: // localhost / wordpress / portugal / "], a [href =" http: // Localhost / wordpress / canary-island / "], a [href =" http: // localhost / wordpress / africa / "], a [href =" http: // localhost / wordpress / central-america / "], a [Href = "http: // localhost / wordpress / indonesia /"], a [href = "http: // localhost / wordpress / carribean /"] {pointers-events: none; Cursor: default; }}  

No comments:

Post a Comment