View Full Version : iframe and stuff


yamachi
01-26-2003, 06:05 PM
i have a iframe on the page here: http://www.raw-image.net/yamachi/home.html my problem is i cant get the iframe to be transparent here is my code:

the page with the iframe in it
<HTML>
<HEAD>
<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0">

<title>.::&nbsp;&nbsp;&nbsp;&nbsp;yamachi &nbsp;&nbsp;&nbsp;::.</title>



<body bgcolor=#F96815>

<STYLE TYPE="text/css">
BODY {background-image: url(bg.gif);
background-repeat:repeat-y;background-position: 0px 0px}
</STYLE>

<img src="yama-top.gif">

<LINK REL=stylesheet HREF="stylesheet.css" TYPE="text/css">

<style text="text/css">
body,tr,td {font-size:8pt; font-family:verdana; cursor:default;
letter-spacing:0pt; align:justify; line-height:14px; color:#666666;}
b {color:#766466;}
input, textarea, {border:1pt solid #000000; background-color:transparent;
font-size:2pt; font-family:verdana; color:#000000;}
</style>

<table width=150 style="position:absolute; top:305; left:20;"><td>
<div align=justify>

TEXT HERE TEXT HERE TEXT HERE TEXT HERE
<BR>
<BR>
<BR>
<BR>

<p><center>
<a href="http://htmlpalace.com">something</a>
<img src="yama-button.gif"border=0></a><p>
</div>

</table>

<table width=300 style="position:absolute; top:305; left:190PX;"><td>
<div align=justify>


<iframe src="content_main.html" name="content" width="296" height="100%"

frameborder="0" noresize bgcolor="transparent">
TEXT HERE... AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE

AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND

HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE

AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND

HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE

AND HERE AND HERE AND HEREAND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND

HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE

AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND

HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE

AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND

HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE

AND HERE AND HEREAND HERE AND HERE AND HERE AND HERE AND HERE AND HERE AND HERE
</div>
</table>

</html>

the document the iframe loads

<HTML>
<HEAD>
<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0">

<title>.::&nbsp;&nbsp;&nbsp;&nbsp;yamachi &nbsp;&nbsp;&nbsp;::.</title>



<LINK REL=stylesheet HREF="stylesheet.css" TYPE="text/css">

</head>

<body bgcolor=transparent>

<font face="verdana" size=3>
<center>
..AND A HAPPY NEW YEAR
<br>
<font size="1">
<a href="yami_6.gif" target="_blank">here is a special <S>christmas</S> present for you guys!</a>
</center>
<font size="1">
<br>
<br>
|| blog ||
<br>
<br><br>

<LINK REL=music HREF="exobud_mp.html" TYPE="music">
<a href="mms://wmt.stream.co.jp/t-emi/wmpData/hikki/disco/uh_sac_02.wma">windows media "simple and clean" test</a>
<br>
<br>
~&nbsp;&nbsp;&nbsp;&nbsp;working on design
<br>
<br>
<A href="http://www.ringsurf.com/netring?ring=pickme_hostees;id=4;action=prev">«</A>
<A href="http://www.ringsurf.com/netring?ring=pickme_hostees;action=rand">?</A>
<A href="http://www.pick-me.net" TARGET="_blank">Pick Me! Hostee</A>
<A href="http://www.ringsurf.com/netring?ring=pickme_hostees;action=list">#</A>
<A href="http://www.ringsurf.com/netring?ring=pickme_hostees;id=4;action=next">»</A>
</div>
</body>
</html>


( the actual document is longer; its a blog so i just put some of the stuff. as in i didnt put all the posts)

id appreciate and helphttp://www.raw-image.net/yamachi/home.html

Dude128
01-26-2003, 06:38 PM
your code would be much easier to go through if it was in the proper format. on the first page, you have 2 <body> tags- combine them. you have no </head> tag that I can see. it should go before the one <body> tag. you should only have one style sheet- you have the two on the page and the external one. whichever you use, it should go in the head section. the title should go in the head section. you have no <tr> tag, no </td> tag, and no </tr> tag. you also do not have an </iframe> tag.

on the second page, you have two <body> tags. the </head> tag should be before the <body> tag, and your title and CSS should go between the <head> and </head> tags

yamachi
01-26-2003, 08:07 PM
O_O wow... your right. i didnt even notice all that stuff (i just copied and pasted code from past layouts)... i'll fix it. anyway do you think doin all that will make my iframe transparent? that was the question i asked...... meh.