Jump to content


Help With Coding


5 replies to this topic

#1 balofagus

    Young Padawan

  • Members
  • Pip
  • 54 posts
  • Location:Ontario, Canada

Posted 16 April 2005 - 07:50 AM

Im using the following tute http://www.techtonic...p?showtopic=126
and when I code my content box the way it tells me to, it just scrolls right/left. I've used this tute before and it didn't do that... could someone help please?

#2 Spooky

    Rooster

  • Members
  • PipPip
  • 463 posts
  • Gender:Male
  • Location:Littleton, CO
  • Interests:Web Design, Programming, Client Management, Web Hosting, Tutorial Writing

Posted 16 April 2005 - 08:10 AM

Do you have a working example of the problem? If so please post that. It would be nice to see the coding in order to help instead of guessing.

#3 balofagus

    Young Padawan

  • Members
  • Pip
  • 54 posts
  • Location:Ontario, Canada

Posted 16 April 2005 - 08:25 AM

Oh, sorry, i have the code in Frontpage... but i haven't uploaded the site or anything yet, would you like the code? or for me to quick upload the site somewhere?

Here's the Code:
<html>
<head>
<title>web_use</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<center>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (web_use.psd) -->
<table id="Table_01" width="751" height="800" border="0" cellpadding="0" cellspacing="0">
	<tr>
  <td colspan="7">
 	 <img src="images/home_01.jpg" width="750" height="312" alt=""></td>
  <td>
 	 <img src="images/spacer.gif" width="1" height="312" alt=""></td>
	</tr>
	<tr>
  <td rowspan="5">
 	 <img src="images/home_02.jpg" width="26" height="488" alt=""></td>
  <td rowspan="2">
 	 <img src="images/home_03.jpg" width="163" height="193" alt=""></td>
  <td colspan="3">
 	 <img src="images/home_04.jpg" width="374" height="20" alt=""></td>
  <td rowspan="2">
 	 <img src="images/home_05.jpg" width="160" height="193" alt=""></td>
  <td rowspan="5">
 	 <img src="images/home_06.jpg" width="27" height="488" alt=""></td>
  <td>
 	 <img src="images/spacer.gif" width="1" height="20" alt=""></td>
	</tr>
	<tr>
  <td rowspan="4">
 	 <img src="images/home_07.jpg" width="37" height="468" alt=""></td>
  <td rowspan="3">
 	 <iframe src="maincontent.htm" width="294" height="424" name="maincontent" frameborder="no"></iframe> </td>
  <td rowspan="4">
 	 <img src="images/home_09.jpg" width="43" height="468" alt=""></td>
  <td>
 	 <img src="images/spacer.gif" width="1" height="173" alt=""></td>
	</tr>
	<tr>
  <td>
 	 <img src="images/home_10.jpg" width="163" height="63" alt=""></td>
  <td>
 	 <img src="images/home_11.jpg" width="160" height="63" alt=""></td>
  <td>
 	 <img src="images/spacer.gif" width="1" height="63" alt=""></td>
	</tr>
	<tr>
  <td>
 	 <img src="images/home_12.jpg" width="163" height="188" alt=""></td>
  <td>
 	 <img src="images/home_13.jpg" width="160" height="188" alt=""></td>
  <td>
 	 <img src="images/spacer.gif" width="1" height="188" alt=""></td>
	</tr>
	<tr>
  <td>
 	 <img src="images/home_14.jpg" width="163" height="44" alt=""></td>
  <td>
 	 <img src="images/home_15.jpg" width="294" height="44" alt=""></td>
  <td>
 	 <img src="images/home_16.jpg" width="160" height="44" alt=""></td>
  <td>
 	 <img src="images/spacer.gif" width="1" height="44" alt=""></td>
	</tr>
</table>
<!-- End ImageReady Slices -->
</center>
</body>
</html>

and then this is the maincontent.htm file
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>
<body background="images/home_08.jpg">

<p>
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDD</p>

</body>

</html>

Thats long, lol, thank Heavens for Copy and paste!

#4 balofagus

    Young Padawan

  • Members
  • Pip
  • 54 posts
  • Location:Ontario, Canada

Posted 16 April 2005 - 09:50 AM

here is a pic of what the layout looks like:
Posted Image

#5 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 16 April 2005 - 10:00 AM

The problem is that your repeated "D's" are too long for the line, and since there are no spaces there is no place for the browser to cut it and create a new line. Try using smaller words in there, it should work.

#6 balofagus

    Young Padawan

  • Members
  • Pip
  • 54 posts
  • Location:Ontario, Canada

Posted 16 April 2005 - 10:07 AM

O...M...G :lol: I can't believe it was something that simple. Mayhaps its because I'm a little slow sometimes but I still can't believe that I forgot something like that.

Thanks for putting me on the right track,
Balofagus

PS: that was a DUHR wasn't it!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users