November 24, 201213 yr I currently have a ribbon effect on my headers but have only just discovered these are not supported in IE7 & 8. This is my code: .ribbon h1 {display: block; height: 18px; line-height: 1.3; width:855px; margin-left:5px; margin-top:0px; margin-bottom:15px; padding: 12px 10px; position: relative; left:-27px; top:5px; color:#fff; font: normal 11.5px 'Lucida Sans Unicode','Lucida Grande',Helvetica,Arial,sans-serif; font-weight:bold; border-bottom: 1px solid #668823; background-image:url(../img/nav-bg.gif);} .ribbon h1:before,.ribbon h1:after, h3.widget-title:before, h3.widget-title:after { content: ''; display: block; width: 0; height: 0; position: absolute; bottom: -11px; z-index: -10; border: 5px solid; border-color: #242424 transparent transparent transparent;} .ribbon h1:before, h3.widget-title:before {left: 0;} .ribbon h1:after,h3.widget-title:after {right: 0;} Is there anything I can do to make this more presentable in the two older versions of windows. It doesn't have to be a ribbon but a box header would look much better that it does now. Not sure how I would target the older versions. Can anyone help??
November 24, 201213 yr Try this http://www.zimmertech.com/tutorials/css/65/target-ie-only-css.php . With this trick you can target only the versions of IE that you want to change. Léon
November 25, 201213 yr You can also try adding <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> To your <head></head> section. This tells the browser to render the page as the latest version of IE.
November 25, 201213 yr Author None of this seems to be working. I am thinking off adding a script telling visitors to upgrade browser, is this a no-go in terms of web designing?
November 26, 201213 yr Hi Charly, Could you please upload your code so will guide you better. Thanks Hem
Create an account or sign in to comment