i have a page (http://www.kolhalev.com/albert.php) that has a whole bunch of text (a two hundred page article....ask my boss why he wanted me to upload it like that)
(WARNING: website is partially, if not mostly in hebrew)
Anyway, I need to get the two-hundred some odd page thing to display in our page. So, i try putting the text into a table with width 411px. However, when the page loads, it loads in a 571px table, messing up the whole website. any idea how to fix this or if i'm even in the right forum?
I'm thinking it's just the size of the lines that's doing it, but i wan't to make sure.
code: (you can view source to see the php-included pages, or ask me to post them...)
thanks.
"Programming today is a race between software engineers trying to create bigger and better idiot-proof programs, and the Universe trying to create bigger and better idiots. So far the Universe is winning." - Rich Cook
(WARNING: website is partially, if not mostly in hebrew)
Anyway, I need to get the two-hundred some odd page thing to display in our page. So, i try putting the text into a table with width 411px. However, when the page loads, it loads in a 571px table, messing up the whole website. any idea how to fix this or if i'm even in the right forum?
I'm thinking it's just the size of the lines that's doing it, but i wan't to make sure.
code: (you can view source to see the php-included pages, or ask me to post them...)
Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Kol Halev</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-8-i" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta name="description" content="The World Wide Jewish-Israeli Radio: www.kolhalev.com" />
<meta name="keywords" content="lev, heart, radio, israel, love, music, kol, voice, peace, party, show, program, shalom, comunication, dj, dance, sports, hebrew, news, match, pictures, usa" />
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" type="text/css" href="../kolhalev.css" />
<style type="text/css">
td#1 { max-width: 411px }
</style>
</head>
<body bgcolor="#999999">
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td align="center" colspan="3"><?php require("../www3/top.php"); ?></td>
</tr>
<tr>
<td width="129" valign="top" align="left" bgcolor="#B1CDFF"><?php require("../www3/left.php"); ?></td>
<td align="center" width="510">
<p>
<table width="411" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../www2/images/articles_title_top.gif" width="411" height="22"></td>
</tr>
<tr>
<td height="30" background="images/articles_title_buttom.gif">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="title">
<tr>
<td width="61" />
<td width="144" class="eng" style="color: #990000">Albert Shabot</td>
<td width="145" class="heb" style="color: #003399">אלברט שבות</td>
<td />
</tr>
</table>
</td>
</tr>
</table>
</p>
<p>
<table border="0" cellpadding="0" cellspacing="0" width="411">
<tr>
<td width="37%" class="eng"><a href="images/albert.pdf" target="_blank">Click here to download this article</a></td>
<td class="eng"><p align="center"><a href="images/albert.pdf" target="_blank">(PDF, 1.56MB)</a></p></td>
<td width="37%" class="heb"><a href="images/albert.pdf" target="_blank">לחץ כאן להוריד את הכתבה הזאת</a></td>
</tr>
<tr>
<td />
<td align="center"><a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"><img src="http://www.adobe.com/images/get_adobe_reader.gif" border="0" /></a></td>
<td />
</tr>
</table>
</p>
<br />
<br />
<?php require("./albert.txt"); ?>
</td>
<td width="129" valign="top" bgcolor="#B1CDFF" rowspan="2"><?php require("../www3/right.php"); ?></td>
</tr>
<tr>
<td colspan="3" align="center"><?php require("../www3/bottom.php"); ?></td>
</tr>
</table>
</body>
</html>
thanks.
"Programming today is a race between software engineers trying to create bigger and better idiot-proof programs, and the Universe trying to create bigger and better idiots. So far the Universe is winning." - Rich Cook















