Results 1 to 2 of 2

Thread: CSS positioning issue for IE 11 Suggestion required

  1. #1
    Join Date
    Nov 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS positioning issue for IE 11 Suggestion required

    i tried lot to figure out why a position specific issue is occurring for IE 11 but still i have no luck. here i am attaching a picture then you can understand how UI is looking at IE 11.



    this below CSS i wrote but still no luck.

    Code:
    .arrange_collection_today
                        {
                            width: 216px;
                            color: #fff;
                            font-size: 20px;
                            overflow: hidden;
                            display: block;
                            text-align: left;
                            height: 73px;
                            line-height: 23px;
                            text-decoration: none;
                            padding: 6px;
                            float: right;
                            background-color: #3ab54b;
                            margin-right: 181px;
                            border-radius: 1px;
                            margin-top: 60px;
    
                            _margin-top:-60px; /* Only works in IE6 */
                            *margin-top:-60px; /* IE6, IE7 */
                            +margin-top:-60px;/* Only works in IE7*/
                            *+margin-top:-60px; /* Only works in IE7 */
                            margin-top:-60px\9; /* IE6, IE7, IE8, IE9 */
                            margin-top:-60px\0; /* IE8, IE9 */
                            margin-top:-60px\9\0;/*Only works in IE9*/                        
                        }
    
                        .ie10 .arrange_collection_today 
                        { 
                            margin-top:50px; 
                        } /* Only works in IE10 */ 
    
                        *::-ms-backdrop, .arrange_collection_today 
                        { 
                            margin-top:50px;
                        } /* IE11 */
    
    this css i applied for IE 11 but not working
    
                    *::-ms-backdrop, .arrange_collection_today 
                    { 
                        margin-top:50px;
                    } /* IE11 */
    this is my web site url http://www.bba-reman.com. if possible please visit my web site with IE 11 and select country UK from the first page and hit go button then you will be redirected to a page where you notice green button not looking good. any help would be appreciated.

    thanks

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    What you have online is different from what you gave us above. On your site you have:
    Code:
    <style>
                        .arrange_collection_today
                        {
                            width: 216px;
                            color: #fff;
                            font-size: 20px;
                            overflow: hidden;
                            display: block;
                            text-align: left;
                            height: 73px;
                            line-height: 23px;
                            text-decoration: none;
                            padding: 6px;
                            float: right;
                            background-color: #3ab54b;
                            margin-right: 181px;
                            border-radius: 1px;
                            margin-top: 60px;
                            
                            _margin-top:-60px; /* Only works in IE6 */
                            *margin-top:-60px; /* IE6, IE7 */
                            +margin-top:-60px;/* Only works in IE7*/
                            *+margin-top:-60px; /* Only works in IE7 */
                            margin-top:-60px\9; /* IE6, IE7, IE8, IE9 */
                            margin-top:-60px\0; /* IE8, IE9 */
                            margin-top:-60px\9\0;/*Only works in IE9*/                        
                        }
                        
                        .ie10 .arrange_collection_today 
                        { 
                        	margin-top:50px; 
                        } /* Only works in IE10 */ 
    
                        *::-ms-backdrop, .arrange_collection_today 
                        { 
                        	margin-top:50px;
                        } /* IE11 */
    
                        @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .arrange_collection_today { margin-top:-60px;  } }
                        
                        .arrange_collection_today span
                        {
                            padding: 4px 4px 7px 10px;
                            display: block;
                            border-bottom: 3px solid white;
                            border-top: 3px solid white;
                            margin-top: 4px;
                        }
                    </style>
    Get rid of the line in red.

Similar Threads

  1. Your suggestion is required.
    By theremotedr in forum CSS
    Replies: 50
    Last Post: 01-12-2014, 11:40 AM
  2. HV Menu Positioning Issue
    By imaginfarm in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-29-2010, 06:11 AM
  3. Iframe Positioning Issue
    By allielopez in forum CSS
    Replies: 6
    Last Post: 02-05-2010, 05:34 PM
  4. Resolved Another IE positioning issue
    By gpigate in forum CSS
    Replies: 1
    Last Post: 07-21-2009, 08:34 PM
  5. ChromeMenu Positioning issue
    By metaphyzxx@msn.com in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-14-2009, 04:14 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
  •