Results 1 to 1 of 1

Thread: How to target IE 10 and 11 with CSS style

  1. #1
    Join Date
    Dec 2009
    Location
    NY NY USA
    Posts
    215
    Thanks
    151
    Thanked 1 Time in 1 Post

    Default How to target IE 10 and 11 with CSS style

    Hi:

    I tried every hack I could find to target IE 10 and 11 with the following style, to raise the site's contact form by -30px , but none of them work.
    They also break up most of the other CSS of that same form when using firefox.

    What am I missing?

    The website.


    Thanks

    Code:
    @media screen and (-ms-high-contrast:active),
     (-ms-high-contrast:none) {
    
    .form-div {
      padding-top:-30px  !important;
        }
    { _:-ms-fullscreen, :root .form-div { padding-top:-30px  !important; }
    }
    Last edited by KennyP; 06-13-2018 at 03:59 AM.

Similar Threads

  1. Help with target URL
    By annexw in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 02-18-2014, 07:08 PM
  2. Style Sheet Switcher (v1.1) - random style on every new site visit
    By matteus in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 07-07-2008, 04:09 PM
  3. Target a page and load target iframe
    By deneb87 in forum HTML
    Replies: 3
    Last Post: 05-26-2007, 08:37 AM
  4. style.pixelLeft and style.left
    By pcbrainbuster in forum JavaScript
    Replies: 5
    Last Post: 03-16-2007, 06:24 PM
  5. Style Sheet Switcher (v1.0) - IE does not remember style
    By miodrag in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 06-02-2006, 01:13 AM

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
  •