Forum Moderators: open

Message Too Old, No Replies

iframes + background color

         

missemre

10:23 am on Nov 14, 2005 (gmt 0)

10+ Year Member



hi, ı can not change iframes's background color,
<iframe width="476" height="345" style="background-color:#535353"
frameborder="1" scrolling="yes" src="products.html"></iframe>
but this iframes's background color is not 535353, its background color is white. ı put allowtransparency="true", but it did not work. please help me, thanks...

BlobFisk

12:33 pm on Nov 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, missemre!

You need to do this in the iFrame code. So, for example, in the <head> of the iFrame html file add some CSS that restyles the pages background colour.

HTH

missemre

1:30 pm on Nov 14, 2005 (gmt 0)

10+ Year Member



thanks;
ı tried but it did not work, ı wrote css code in <head> and </head>. ı search something about this topic, ı did what ı learn,but ı can't solve this problem. and ı can't understand how ı cant change an iframes backgorund color.