Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer Removing IE's framing border from object

    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).

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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.

  • #3
    New Coder
    Join Date
    Apr 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I thought iframe wasn't compatible with Mozilla, though?

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You thought but have you actually tried? When using a strict doctype its not valid but any other doctype and it is.

  • #5
    New Coder
    Join Date
    Dec 2005
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    iframes work in mozilla

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •