gehuangyi20 / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

overflow visible in IE6 make border black #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add overflow:visible to div element
2. Add border-color different from black

What is the expected output? What do you see instead?
Overflow visible works correctly but div's border become black!...

What version of the product are you using? On what operating system?
IE7 version 2.0 (beta3) on Windows XP

Solution:

On ie7-overflow.js file 

var WRAPPER_STYLE = {
  backgroundColor: "transparent",
  backgroundImage: "none",
  backgroundPositionX: null,
  backgroundPositionY: null,
  backgroundRepeat: null,
  borderTopWidth: 0,
  borderRightWidth: 0,
  borderBottomWidth: 0,
  borderLeftStyle: "none",
  borderTopStyle: "none",
  borderRightStyle: "none",
  borderBottomStyle: "none",
  borderLeftWidth: 0,
  borderLeftColor: "#000",
  borderTopColor: "#000",
  borderRightColor: "#000",
  borderBottomColor: "#000",
  height: null,
  marginTop: 0,
  marginBottom: 0,
  marginRight: 0,
  marginLeft: 0,
  width: "100%"
};

Good work!...
Bye!...

Original issue reported on code.google.com by Aben...@gmail.com on 9 Jan 2009 at 3:25

GoogleCodeExporter commented 9 years ago
Thanks for the fix!

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 7:06