PDA

View Full Version : How do you change the colour of the border of an iFrame? [+12 REP!]



jackass
17-06-2007, 02:49 PM
Yeah, anyone know how to change the border colour of an iframe.

And make it so it looks the same all the way around?

+12 Rep!

Blob
17-06-2007, 02:53 PM
Make it no border.

border="0"

Ini
17-06-2007, 02:56 PM
What color do you want it as?

Sunny.
17-06-2007, 03:00 PM
If using Frontpage duble click the border and where it says " Border " go to non.

Invent
17-06-2007, 03:00 PM
CSS probably.

style="border: 1px dashed/thin/w.e #COLOUR;"

jackass
17-06-2007, 03:10 PM
I'm coding it manually in HTML.

I need the border black so it will be #000000.

Blob
17-06-2007, 03:12 PM
<iframe style="border: 1px solid #000000;"></iframe>

Edit your iframe and add the style bit

Want to hide these adverts? Register an account for free!