Search this website:


3 CSS tricks / bugs in Internet Explorer 7

A quick post today with 3 bugs and the solutions iv found to fix them.

1.) I wanted to get rid of the border on the input fields within a form. You would naturally try input: border:none; However and strangely that didnt work.

The Fix:
input: border-width:0;

2.) IE7 and below were showing the scrollbar within a textarea even with the textarea having a absolute height

The Fix:
overflow:auto;

3.) The strangest one of the 3. I wanted to get rid of the default text in a submit button. ( There has to be text for accessibility). I tried text-indent:-9999px which worked perfectly in Safari and Firefox.

The Fix:
text-indent:-9999px; color: transparent;  text-transform: capitalize;

I hope that helps anyone coming across any of these bugs in Internet Explorer. Did it work? Leave a comment.

 

Comments

Comment Form:

< Back to view all blog entries
  • 17th May 2012 @mikekus is @workfu a personal or client project?
  • 16th May 2012 Cracking font for the right scenario - http://t.co/qwqkbBWD Meet strangelove
  • 16th May 2012 @graemebenzie how's it going down there?
  • 15th May 2012 @mcaulay About all projects are fixed so not really an issue. Bit archaic but these r pen / paper to an spreadsheet. Modern cool way huh?
  • 15th May 2012 @mcaulay Right ok, so they dropped that feature then...(never used it) Why?
  • 15th May 2012 @mcaulay What you guys using ?
  • 15th May 2012 @mcaulay Got ya. Guess theres no third party that can integrate with it ?
  • 15th May 2012 Loving basecamp by @37signals and have been for years, The best Project managing app out there, new design takes it up 2 or 3 notches too
  • 15th May 2012 Lovely agency site -http://www.levo.com.au very nice #bigstuff
  • 11th May 2012 @debutmarketing Strangley enough Julie not a client more of a potential client. All sorted now thankfully. #searchenginescanbedangerousfolks
@mediasurgery