NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page table width WYSI[not]WYG

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-18-2005, 04:21 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Mar 2005
Posts: 2
okravetz is an unknown quantity at this point
 



Sad table width WYSI[not]WYG


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.
????: NamePros.com http://www.namepros.com/web-design-discussion/76214-table-width-wysi-not-wyg.html

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.
????: NamePros.com http://www.namepros.com/showthread.php?t=76214


"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
okravetz is offline  
Old 03-18-2005, 04:27 PM   #2 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
Not Found
The requested URL /powweb-bin/php4/albert.php was not found on this server.
adam_uk is offline  
Old 03-18-2005, 04:44 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: Mar 2005
Posts: 2
okravetz is an unknown quantity at this point
 



oops


oops it's http://kolhalev.com/www2/albert.php

okravetz is offline  
Old 03-18-2005, 04:53 PM   #4 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
right ive looked trhough the source and searched i couldnt find anywhere a width set to 571px so i think there must be a line of tet somewhere in this long massive link pile of text thats pushing it outwards

does it still do it when you dotn include the document?
adam_uk is offline  
Old 03-19-2005, 01:43 AM   #5 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



It's most likely caused by a long word or a bunch of characters with no spaces. You could try using full-justification too.
Rowan W is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Table Question.... softz Programming 2 01-24-2005 03:47 PM
Table Width smilinjack Web Design Discussion 4 12-02-2004 05:10 PM
Tutorial: Getting Started With MySQL (The Basics) deadserious Webmaster Tutorials 3 04-18-2004 02:17 PM
Table Width in % NovaP Web Design Discussion 2 03-27-2004 07:33 AM
HELP!: find window width? Center a <div>? Kingherc Programming 1 07-06-2003 01:35 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:44 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger