View Full Version : iframe border


raen_the_vain
04-13-2005, 05:22 AM
ahem ok....here i go with another stooopid question (well i tried searching, but nothing came up)

i don't want a border in my iframe. it has one. please make it go away!

here is my code (border part in red):

<iframe src="magpies.htm" name="iframe" width="240" height="540" marginwidth="0"
marginheight="0" style="border=none; position: absolute; left: 30; top: 30;" allowtransparency="true"></iframe>

is that correct? (well obviously not if it doesn't work...lol) help help help, thank you thank you thank you!

Monkey Bizzle
04-13-2005, 05:27 AM
actually if you were going to use that it should be border: 0; but that's not what makes the border go away:

<iframe src="magpies.htm" name="iframe" width="240" height="540" marginwidth="0" marginheight="0" frameborder="0" style="border=none; position: absolute; left: 30px; top: 30px;" allowtransparency="true"></iframe>

take out the red and add in the blue

raen_the_vain
04-13-2005, 05:29 AM
thank you very much! all is well once again...:)

Monkey Bizzle
04-13-2005, 06:51 AM
You're welcome!