twix2006
09-14-2009, 06:24 AM
I'm a bit rusty on my coding so I'm pretty sure I screwed up the coding to make it so that the background of whatever's in my iframe(s) is transparent. The odd thing is it shows up right on Firefox and Safari, but the backgrounds to each iframe page is white when I view it on IE--what's wrong?!
here's the code I use for my frames:
<IFRAME name="iframeupcoming" src="http://ssmu.mcgill.ca/medspecs/upcomingevents.html" width=390 height=120 marginwidth=0 marginheight=0 scrolling=auto allowtransparency="true" frameborder="0" style="border: 0"></IFRAME>
and I also am using CSS and this is what i have on my sheet:
a:link
{color:#A8053C; text-decoration:none; font-family:verdana; font size:8pt; letter-spacing: 1px; font-weight: normal;}
a:visited
{color:#A8053C; text-decoration:none; font-family:verdana; font size:8pt; letter-spacing: 1px; font-weight: normal;}
a:active
{color:#A8053C; text-decoration:none; font-family:verdana; font size:8pt; letter-spacing: 1px; font-weight: normal;}
a:hover
{color:#000000; cursor:hand; text-decoration: none; font size:8pt; letter-spacing: 1px; font-weight: normal;}
BODY {
background: transparent;
color:#000000;
font-family:verdana;
font-size:8pt;
text-align:justify;
line-height:20px;
letter-spacing: 1px;
overflow-x: hidden;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
padding: 10px;
}
b {color:#000000; letter-spacing: 1px; font-size: 8pt;}
input, textarea, select
{background: #FFFFFF;
color:#000000;
border: 1px solid #A8053C;
font-family: verdana;
line-height:10px;
font-size:8pt;
letter-spacing: 1px;
padding:2px;
scrollbar-arrow-color: #A8053C;
scrollbar-track-color: #FFFFFF;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #FFFFFF;
}
td
{ font-family: verdana;
font-size: 10pt;
color: #000000;
letter-spacing: 1px;
}
Thanks!
here's the code I use for my frames:
<IFRAME name="iframeupcoming" src="http://ssmu.mcgill.ca/medspecs/upcomingevents.html" width=390 height=120 marginwidth=0 marginheight=0 scrolling=auto allowtransparency="true" frameborder="0" style="border: 0"></IFRAME>
and I also am using CSS and this is what i have on my sheet:
a:link
{color:#A8053C; text-decoration:none; font-family:verdana; font size:8pt; letter-spacing: 1px; font-weight: normal;}
a:visited
{color:#A8053C; text-decoration:none; font-family:verdana; font size:8pt; letter-spacing: 1px; font-weight: normal;}
a:active
{color:#A8053C; text-decoration:none; font-family:verdana; font size:8pt; letter-spacing: 1px; font-weight: normal;}
a:hover
{color:#000000; cursor:hand; text-decoration: none; font size:8pt; letter-spacing: 1px; font-weight: normal;}
BODY {
background: transparent;
color:#000000;
font-family:verdana;
font-size:8pt;
text-align:justify;
line-height:20px;
letter-spacing: 1px;
overflow-x: hidden;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
padding: 10px;
}
b {color:#000000; letter-spacing: 1px; font-size: 8pt;}
input, textarea, select
{background: #FFFFFF;
color:#000000;
border: 1px solid #A8053C;
font-family: verdana;
line-height:10px;
font-size:8pt;
letter-spacing: 1px;
padding:2px;
scrollbar-arrow-color: #A8053C;
scrollbar-track-color: #FFFFFF;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #FFFFFF;
}
td
{ font-family: verdana;
font-size: 10pt;
color: #000000;
letter-spacing: 1px;
}
Thanks!