View Full Version : iframe questions


evilhamu
07-06-2003, 06:21 PM
is there a way you can change the background color of an iframe instead of it just being white?

Sheila
07-06-2003, 06:23 PM
Yeah just change the background color to whatever you want...

bgcolor="000000" for example.....you can find a color chart here
http://www.lissaexplains.com/color.shtml (You would put that in the <body> tag.)

evilhamu
07-06-2003, 06:34 PM
um...

i dont think thats to change the bgcolor of an IFRAME.......

are you sure thats the right code?

Sheila
07-06-2003, 06:41 PM
Yeah it is correct. You have to put it on every page that appears in the iframe.

Example: (Makes the background black)
<body bgcolor="#000000">


(http://www.lissaexplains.com/html.shtml)

evilhamu
07-06-2003, 06:48 PM
also, i when i changed the color, i still saw the little line-border thing around the iframe. is there a way to get rid of it?

Sheila
07-06-2003, 06:50 PM
Try adding frameborder="0" border="0" to your inline frame code.