Force IE To Go Dottie
If you’re a seasoned web designer / developer you will most probably have noticed that Internet Explorer treats dotted borders the same as dashed ones. Here’s a quick CSS work around for this:
style_general.css
abbr, acronym {
border-bottom: 1px dotted #bbb;
cursor: help;
text-decoration: none;
}
and then use the following to include a specific stylesheet just for Internet Explorer, versions 6 and lower:
<!--[if LTE IE 6]>
<style media="all" type="text/css">@import url("style_ie.css");</style>
<![endif]-->
style_ie.css
abbr, acronym {
background: url(../images/dotted.gif) repeat-x bottom left;
border-bottom: 0 solid;
padding: 0 0 1px 0;
}
Simple?
About
Neil Merton is a South African born web professional currently employed by the Servelogic. These are his thoughts and memories.
Recent Posts
- Twitter Updates for 2008-02-06
- Twitter Updates for 2008-02-03
- Twitter Updates for 2008-02-02
- Website Updated to 2.3.2
- Web2.0* Version 1.7.0 Available
- Web2.0* Theme Gets It’s Own Website
- Happy Festive Greetings
- Web2.0* Version 1.6.0 Available
- Web2.0* and Wordpress 2.3
- Wordpress Unable to use .htaccess
Categories
Archives
- February 2008
- January 2008
- December 2007
- October 2007
- August 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
Sorry comments are closed for this entry.