|
| | |||||||
| Internet Explorer Discuss IE7 or any other IE version. |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| Frames (and viewport) always have a border around it, and this border can't be deleted by CSS The main frame (viewport) has a "3px outset controldark" border around it, and it's not possible to hide it by CSS (IE7 (strict) and IE8 (standard) mode). This bug is also known for IE7, so it's normal it's still in IE8. IE6 and others browsers doesn't have this problem. Currently, we can delete the border for frames only by adding "frameborder=0" to the iframes. But sometimes : - We have no acces to the parent frame - The document is not in a frame, just in the IE Window. The tried CSS Code : html, body { /* Works great in all browsers, including IE 6 */ border: 0px transparent none; /* For IE7 in IE6 mode */ border-width: expression('0px') !important; border-style: expression('none') !important; border-color: expression('transparent') !important /* IE7 and IE8 faill both */ } Please fix it, Fremy |
| |
|
#2
| |||
| |||
| Re: Frames (and viewport) always have a border around it, and this border can't be deleted by CSS I noticed this change as well, and I found that IE8 requires that you use the following: html,body,form{} Whether it was intended or not, I don't know, but IE8 requires you to set the border-width for the form tag as well. I didn't test this in IE7, but I am assuming it will have the same effect since the problem existed in IE7 as well. -- Nathan Sokalski njsokalski********.com http://www.nathansokalski.com/ "Francois Remy" <fremycompany******.fr> wrote in message news:C0628529-9BEB-4ED8-B515-8A481EA2F11D@microsoft.com... > The main frame (viewport) has a "3px outset controldark" border around it, > and it's not possible to hide it by CSS (IE7 (strict) and IE8 (standard) > mode). > This bug is also known for IE7, so it's normal it's still in IE8. IE6 and > others browsers doesn't have this problem. > > Currently, we can delete the border for frames only by adding > "frameborder=0" to the iframes. > > But sometimes : > - We have no acces to the parent frame > - The document is not in a frame, just in the IE Window. > > The tried CSS Code : > html, body { > /* > Works great in all browsers, including IE 6 > */ > border: 0px transparent none; > /* > For IE7 in IE6 mode > */ > border-width: expression('0px') !important; > border-style: expression('none') !important; > border-color: expression('transparent') !important > /* IE7 and IE8 faill both */ > } > > Please fix it, > Fremy > > |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Black Border Around All My Games, HELP! | Kurei Nori | Vista Games | 2 | 03-10-2008 08:11 AM |
| Border not printing in IE7 | ActorSchu@gmail.com | Internet Explorer | 4 | 12-03-2007 07:40 AM |
| Text box border | Net Admin | Microsoft Office | 3 | 11-13-2007 01:40 PM |
| Border width | simonZ | Internet Explorer | 0 | 11-02-2007 08:01 AM |
| Border States Electric | TPC | Tablet PC Jobs | 0 | 10-16-2007 10:30 PM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |