Can't remove border! IE breaks....

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't remove border! IE breaks....

DFC005
Hey, when I remove the border from the CSS, the shadowbox stops working with IE.

Has anyone else been able to remove the border?
Reply | Threaded
Open this post in threaded view
|

Re: Can't remove border! IE breaks....

IchDu
I have set the border to 0 an in IE 7 it works!
Have you got the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> ?
Reply | Threaded
Open this post in threaded view
|

Re: Can't remove border! IE breaks....

DFC005
Can you give me the exact code you used to set the border to 0?

This is the current code.

border: 1px solid #000;
Reply | Threaded
Open this post in threaded view
|

Re: Can't remove border! IE breaks....

IchDu
#shadowbox_body {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0px solid #fff; <-------- change this in your stylesheet
  background-color: #000;
}