Results 1 to 2 of 2

Thread: Looking for an Exclusive Google Chrome CSS hack.

  1. #1
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default Looking for an Exclusive Google Chrome CSS hack.

    Hi all,

    I am looking for a CSS hack that only works in Google Chrome. There are some hacks available but most of them will work in Apple Safari also, which I don't want. In other words an exclusive CSS hacks that works only in Chrome.

    Plz do let me know if you have anything in your list.

    Regards

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I don't think such an hack exists. Chrome is built on Webkit (the same rendering engine as Safari) and parts of Firefox.

    I don't know why you would need to do this but if you do need Chrome-only styles, you can detect the UserAgent string and use some logic to set the stylesheet. That's not always 100% accurate, however.

    Out of curiosity, why do you need to do this?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •