Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-15-2011, 05:33 AM   PM User | #1
thomasmclennan
New Coder

 
Join Date: Jul 2010
Posts: 33
Thanks: 2
Thanked 1 Time in 1 Post
thomasmclennan is an unknown quantity at this point
Internet Explorer [ie9] CSS: Targeting ie9 Inside External Style Sheet

Well it's that time again...
Microsoft has gone and released yet another browser that isn't up to current expected standards at the time of it's release, and this time even Google has done better than Microsoft, but I digress...
As Microsoft has neglected the 'transform' from it's new browser, I need a hack that targets IE9 only, in the style-sheet.
Code:
.login_box_right:hover, .login_box_left:hover{
-webkit-transform: skew(0deg,0deg); -o-transform: skew(0deg,0deg); -moz-transform: skew(0deg,0deg); margin-top:100px/9; margin-bottom:-100px/9;
}
Note that I am trying to prevent the margin change in IE, because it is not able to render transform: skew...

Note, as a last resort, I'll have to target it with a
Code:
<!--[if IE 9]>
margin-top:0; margin-bottom:0;
<![endif] -->

Last edited by thomasmclennan; 04-15-2011 at 05:53 AM.. Reason: bullant...
thomasmclennan is offline   Reply With Quote
Old 04-15-2011, 05:46 AM   PM User | #2
bullant
Banned

 
Join Date: Feb 2011
Posts: 2,699
Thanks: 13
Thanked 395 Times in 395 Posts
bullant is on a distinguished road
IE10?
bullant is offline   Reply With Quote
Old 04-15-2011, 05:49 AM   PM User | #3
thomasmclennan
New Coder

 
Join Date: Jul 2010
Posts: 33
Thanks: 2
Thanked 1 Time in 1 Post
thomasmclennan is an unknown quantity at this point
Quote:
Originally Posted by bullant View Post
IE10?
IE9. I(forgot to mention that I'm from the future)...
thomasmclennan is offline   Reply With Quote
Old 04-15-2011, 05:53 AM   PM User | #4
thomasmclennan
New Coder

 
Join Date: Jul 2010
Posts: 33
Thanks: 2
Thanked 1 Time in 1 Post
thomasmclennan is an unknown quantity at this point
Code:
<html <!--[if IE]>class= "ie"<![endif]-->>
Actually, I think I'll use this method.
thomasmclennan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:06 AM.


Advertisement
Log in to turn off these ads.