Brian M. Curran wrote:
Hello,

Does anyone have a minute to look at my problem? I was tinkering with my
site this morning, and caused a float drop problem in IE6. What happened
was. I was trying to create some white space between my secondary nav and
the side of my page. My site is: drafting services . com (remove  all
spaces). My code is:

/* ===== Secondary Navigation ===== */

/* ===== 0border+0padding+10margin+190width=200 ===== */

#navtwocontainer {

            float: left;

            padding: 10px 0px 0px 0px;

            margin: 0px 0px 0px 10px;

            width: 190px;

            }
[snip]
Sincerely,
Brian M. Curran | CAD Consultant


I would say the best approach is to hit the floated element that is dropping. Add a negative margin-left.

#contentRight {
  float: right;
  margin: 0;
  padding: 10px;
  width: 220px;
  background: #eee;
margin-left:-10px; /* add to allow the left edge of the float to overlap #contentMiddle in IE6 */
}


This should not affect the other browsers.


--
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to