tags:

views:

29

answers:

2

I have added an html object tag in my page, it displays the content ok in ff but in IE it also shows up a border. How do I remove it.

A: 

I think you're describing a need for the following:

<object style="border:0px;">

It would be better to put this in a CSS file. To have no borders around any <object> element, put the following line in a CSS file:

object { border:0px; }
palswim
no sir its not working
Rahul Utb
@Rahul Utb: Ok. Could you paste the HTML code you're using (in the question), then?
palswim
here is the code http://jsfiddle.net/uF2Xh/Just you can re assemble in a normal html page and see.
Rahul Utb
A: 

There is a deprecated attribute border which you could also use, although without your code it's hard to say whether it would work.

<object border="0">

Aaron D