We help IT Professionals succeed at work.
Get Started

CSS hack for IE5.5 and IE6 - would like to remove it

jasimon9 asked
Last Modified: 2012-05-12
I would like to remove a hack in our website that we have had in for probably 8 years. This is part of a "clean-up" project that will also get validated HTML and CSS.

The hack is to support IE5.5 and IE6. In looking at our weblogs and Google Analytics, I see that there are still a very small number of hits coming in from such browsers. But I suspect they are not from real users.

In any case, this hack did work for us and made it possible to have our page layouts work on those bad boys.

Here is the CSS:

/* min-width hack - http://www.cssplay.co.uk/boxes/minwidth.html*/
/* for all browsers that understand min-width */
/* .width {position:relative; width:100%; min-width:867px;} */
/* change to 1000px to accomodate "Send Feedback" and other things */

.width {position:relative; width:100%; min-width:1000px;}
.container {display:block; color:#000;}

* html .width {border-right:860px solid #fff;}
* html .container {display:inline-block; position:relative; margin-right:-860px;}

#content {

Open in new window

Here is the relevant HTML:

<div class="width">
  <div class="container">
	<div id="content">

Open in new window

These divs are nearly at the top of the body section.

My intent would be first to comment out the CSS, and let it run for a while. If there are no complaints after a month or so, then just remove the divs and the related CSS.

Any comments on why this would be a bad idea, other than "it ain't broke, so don't fix?"
Watch Question
Top Expert 2013
This problem has been solved!
Unlock 4 Answers and 12 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE