Dynadot — .com Registration $8.99

Iframe Help?

Spaceship Spaceship
Watch

PenguHost

Account Closed
Impact
1
Ok I recently got a layout from Zymic.Com, I'm a php programmer but iframes have always strartled me, seeing as if I mess with them they go ugly o.0.

Is there a way to remove iframes from this code, without killing my layout itself so I can just continue typing my text and it decends without having to use additional stuff?

<iframe src="main.htm" name="main_frame" width="531" height="274" frameborder="0"></iframe></td> THATS MY PROBLEM <---

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Your Site Name</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="s1.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="DDDDDD">
<table width="454" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr> 
    <td height="180" colspan="3" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="454" height="76" valign="top"><img src="images/top.jpg" width="720" height="180"></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td width="177" height="10"></td>
    <td width="10"></td>
    <td width="533"></td>
  </tr>
  <tr> 
    <td height="192" valign="top">
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="nav">
        <tr> 
          <td height="17" colspan="2" valign="top"> <div align="right"> <strong><u>       navigation</u></strong></div></td>
        </tr>
        <tr> 
          <td width="83" height="103" valign="top"> 
		    .01 <a href="#" target="main_frame">home</a><br>
            .02 <a href="#" target="main_frame">advertise</a><br>
            .03 <a href="#" target="main_frame">affilates</a><br>
            .04 <a href="#" target="main_frame">contact</a><br>
            .05 <a href="#" target="main_frame">downloads</a><br>
            .06 <a href="#" target="main_frame">essays</a><br>
            .07 <a href="#" target="main_frame">gallery</a><br>
            .08 <a href="#" target="main_frame">hosting</a><br> <br></td>
          <td width="84" valign="top">
		    .09 <a href="#" target="main_frame">media</a><br>
            .10 <a href="#" target="main_frame">network</a><br>
            .11 <a href="#" target="main_frame">pr0n</a><br>
            .12 <a href="#" target="main_frame">templates</a><br>
            .13 <a href="#" target="main_frame">topsites</a><br>
            .14 <a href="#" target="main_frame">tutorials</a><br>
            .15 <a href="#" target="main_frame">webmasters</a></td>
        </tr>
        <tr> 
          <td height="17" colspan="2" valign="top">
<div align="right"><strong><u>       site 
              statstics </u></strong></div></td>
        </tr>
        <tr> 
          <td height="53" valign="top">ip: 69.3.2.420<br>
            today: 042<br>
            yesterday: 100</td>
          <td valign="top">total: 1982<br>
            online: 4</td>
        </tr>
      </table></td>
    <td> </td>
    <td rowspan="2" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="content">
        <tr> 
          <td width="531" height="274" valign="top">
<iframe src="main.htm" name="main_frame" width="531" height="274" frameborder="0"></iframe></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="84"></td>
    <td> </td>
  </tr>
</table>
</body>
</html>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Your Site Name</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="s1.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="DDDDDD">
<table width="454" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr> 
    <td height="180" colspan="3" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="454" height="76" valign="top"><img src="images/top.jpg" width="720" height="180"></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td width="177" height="10"></td>
    <td width="10"></td>
    <td width="533"></td>
  </tr>
  <tr> 
    <td height="192" valign="top">
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="nav">
        <tr> 
          <td height="17" colspan="2" valign="top"> <div align="right"> <strong><u>       navigation</u></strong></div></td>
        </tr>
        <tr> 
          <td width="83" height="103" valign="top"> 
		    .01 <a href="#" target="main_frame">home</a><br>
            .02 <a href="#" target="main_frame">advertise</a><br>
            .03 <a href="#" target="main_frame">affilates</a><br>
            .04 <a href="#" target="main_frame">contact</a><br>
            .05 <a href="#" target="main_frame">downloads</a><br>
            .06 <a href="#" target="main_frame">essays</a><br>
            .07 <a href="#" target="main_frame">gallery</a><br>
            .08 <a href="#" target="main_frame">hosting</a><br> <br></td>
          <td width="84" valign="top">
		    .09 <a href="#" target="main_frame">media</a><br>
            .10 <a href="#" target="main_frame">network</a><br>
            .11 <a href="#" target="main_frame">pr0n</a><br>
            .12 <a href="#" target="main_frame">templates</a><br>
            .13 <a href="#" target="main_frame">topsites</a><br>
            .14 <a href="#" target="main_frame">tutorials</a><br>
            .15 <a href="#" target="main_frame">webmasters</a></td>
        </tr>
        <tr> 
          <td height="17" colspan="2" valign="top">
<div align="right"><strong><u>       site 
              statstics </u></strong></div></td>
        </tr>
        <tr> 
          <td height="53" valign="top">ip: 69.3.2.420<br>
            today: 042<br>
            yesterday: 100</td>
          <td valign="top">total: 1982<br>
            online: 4</td>
        </tr>
      </table></td>
    <td> </td>
    <td rowspan="2" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="content">
        <tr> 
          <td width="531" height="274" valign="top">
<div style="height:531px;width:100%;">Lots and lots of fabulous text!</div></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="84"></td>
    <td> </td>
  </tr>
</table>
</body>
</html>

I've replaced the iframe with a div tag, set the width to 100% so it takes up the entire cell, and height to 531... because height:100% doesn't work...

You can replace what i've typed in the tag with whatever you want, i put Lots and lots of fabulous text!
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back