Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.



Reply
 
LinkBack Thread Tools
  #1  
Old 04-20-2008, 10:50 AM
Francois Remy
Newsgroup Contributor
 
Posts: n/a
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-20-2008, 10:50 AM
  #2  
Old 04-23-2008, 10:40 AM
Nathan Sokalski
Newsgroup Contributor
 
Posts: n/a
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
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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?

All times are GMT -8. The time now is 03:57 PM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0