...

View Full Version : Removing IE's framing border from object



kpelvoivner
12-10-2005, 06:35 PM
Okay, I've done a search through the forums and google and not found an answer to my question, so I'll ask it here. IE has this annoying habit of adding borders to things when you tell it not to. Well the border value is 0px but it isn't the "traditional" border that I'm annoyed with. It's that damn little framing border IE uses. for example, say I have <object data="http://www.wsabstract.com" height="100px" width="100px" style="border:0px"></object> well the standard cross-browser border is obviously gone, however what is left is that gray 1pixel frame that IE likes putting on stuff and I was wondering if there were any way to get rid of it 'cause it really interferes with the aesthetic of the page I'm trying to make. Don't have a problem in any other browsers, just IE (of course).

_Aerospace_Eng_
12-10-2005, 10:42 PM
I have never been able to remove the border on an object in IE for anything other than flash. Surely there has to be a better way for what you are trying to do. You could use an iframe but then you can't use any strict doctypes.

kpelvoivner
12-11-2005, 06:11 PM
I thought iframe wasn't compatible with Mozilla, though?

_Aerospace_Eng_
12-12-2005, 01:09 AM
You thought but have you actually tried? When using a strict doctype its not valid but any other doctype and it is.

Elgyn
12-12-2005, 04:06 PM
iframes work in mozilla

try this
<object data="http://www.wsabstract.com" height="100px" width="100px" border="0"></object>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum