scripts for tables

It is actually an iFrame. <iframe scrolling="auto" src="link to otherpage"></iframe>

Inside the IFrame there is a link to another page and that page uses a style sheet.

<link href=".css file" rel="stylesheet" type="text/css"/>

The background of that page is an image and to get that image to stay fixed two of the lines in the style sheet are:

body {
background-repeat: no-repeat;
background-attachment: fixed;
}
simple html and css... But, make sure on your website you put comments with where you borrow code from....
 
Last edited:
change_the_world 2.0 said:
can anyone build me a table like these ones that are black
www.ivoryband.com

Code:
<table border="0" align="center" cellpadding="1" cellspacing="1">
        <td width="46%" valign="top" bordercolor="#000000" bgcolor="#000000">
        <p> 
          <center>
            <font color="#FFFFFF"> 
            <IFRAME SRC="ADDPAGEHERE" WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
            </font> 
          </center>
        </p></td>
      <td width="52%" valign="top" bordercolor="#000000" bgcolor="#000000">
          <center>
            <font color="#FFFFFF"> 
            <IFRAME SRC="ADDPAGEHERE" WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
            </font> 
          </center>
        </p></td>
    </tr>
   </table>

all you need to do is create 2 other pages the content of each iframe and place the link where it says ADDPAGEHERE and make the body background black <body bgcolor="black"> for each page

you need to either learn html or learn to use what other people have created and CHANGE IT TO MAKE IT YOUR OWN.
 
Last edited:
<table border="0" align="center" cellpadding="1" cellspacing="1">
<td width="46%" valign="top" bordercolor="#000000" bgcolor="#000000">
<p>
<center>
<font color="#FFFFFF">
<IFRAME SRC="http://ivoryband.com/news.php"WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
</font>

</center>
</p></td>
<td width="52%" valign="top" bordercolor="#000000" bgcolor="#000000">
<center>
<font color="#FFFFFF">
<IFRAME SRC="http://ivoryband.com/news.php" WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
</font>

</center>
</p></td>
</tr>
</table>

okay now i have that. it appear with those two tabels i wanted but it still has the text. how do i get rid of that text to enter my own? sorry for all the questions for i am jsut starting out and learning. thank you.
 
not sure what "text" your talking about, but the onyl visible text there is from the source pages, the news.php pages from that ivoryband site. I thought this was for your own site, why are you linking to their pages. If you put the SRC page as something you created, like mypage.html then whatever s in mypage.html will be "echoed" (for want of a better word) in the IFRAME frame.

Unless you are the owner of that ivoryband site, then i cant see a reason why you would want their news.php file as your frame contents, make your own.

Oh and yeh, seriously, learn some HTML, this is very basic stuff, you shoudl know this already.

dragon
 
Last edited:
basically dragon has said all i wanted to say here, but just to reitterate, you have linked the 2 iframes in you table to the ivoryband news site, so it hardly supprising that the pages fill up with that text from that site :)
You need to create you own web page beit html, php, cgi, etc... and in the scr tell the iframe to go to your new page eg
create a page called MY_IFRAME_TEXT.html

to display the contents of the MY_IFRAME_TEXT.html within an iframe you would use
<IFRAME SRC="{path to the file/}MY_IFRAME_TEXT.html " WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>

to recreate the iframe in the subway site you will see this code
<iframe width="650" height="380" allowtransparency="true" align="top" frameborder="0" name="MainContent" id="MainContent" scrolling="auto" src="news.php"></iframe>
 
...I guess he did not read my entire response... "all you need to do is create 2 other pages, the content of each iframe and place the link where it says ADDPAGEHERE" :rolleyes:


I agree with dragon2309 and apj101, until you know HTML basics (www.w3schools.com) you should not even attempt to create a web site. Even if you copy (and site your sources) every piece of HTML code from other sites, you still need to know the basics!
 
Back
Top