Trouble with new design, trying php having trouble.

  • Lucnet
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jan 16, 2004
  • Posts: 5
  • Status: Offline

Post January 16th, 2004, 1:15 pm

I seem to be ahving trouble with my site design. It all lines up until I put my rollover images for my menu in the header. If you are on a 800 res screen when you look at it, it will look fine. You will have to scroll to the right to see what I mean. Does anybody have any ideas on this?

Site http://www.lucnetsolutions.com
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 16th, 2004, 1:15 pm

  • conorific
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 12, 2004
  • Posts: 350
  • Loc: NY
  • Status: Offline

Post January 16th, 2004, 3:12 pm

Whoa!!! I mean, the nav at the top looks fine and then I see two different colored gray bars and then a string of numbers and letters scrolling to the right. You might want to stick with HTML for now, until you get this fixed, and then slowly ease your way into PHP, like using the include function. Wow. That really needs fixing.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post January 16th, 2004, 5:18 pm

Here are the probable culprits in the script by line number

Code: [ Select ]
Line 34 <a.length
Line 41 <d.forms.length
Line 41 <d.forms.length
(two instances for line 41)
  1. Line 34 <a.length
  2. Line 41 <d.forms.length
  3. Line 41 <d.forms.length
  4. (two instances for line 41)

It appears this was done in Dreamweaver. You might want to double check and make sure it's not a prob with the way Dreamweaver generated the code.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Lucnet
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jan 16, 2004
  • Posts: 5
  • Status: Offline

Post January 16th, 2004, 7:56 pm

ATNO/TW wrote:
Here are the probable culprits in the script by line number

Code: [ Select ]
Line 34 <a.length
Line 41 <d.forms.length
Line 41 <d.forms.length
(two instances for line 41)
  1. Line 34 <a.length
  2. Line 41 <d.forms.length
  3. Line 41 <d.forms.length
  4. (two instances for line 41)

It appears this was done in Dreamweaver. You might want to double check and make sure it's not a prob with the way Dreamweaver generated the code.


This is the code I see online 41 : for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

What editor are you useing? Also what was you meaning about line 34? Does it need to be removed? If you want you can contact me by email and I can give you access the site to edit it for me.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post January 16th, 2004, 9:34 pm

Quote:
What editor are you useing? Also what was you meaning about line 34? Does it need to be removed? If you want you can contact me by email and I can give you access the site to edit it for me.


What good will that do you? ATNO/TW was kind enough to point out the troubled spots, I think you should put forward an effort to debug them and fix them.
Pixel Acres V2
  • Lucnet
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jan 16, 2004
  • Posts: 5
  • Status: Offline

Post January 17th, 2004, 7:24 am

I did, if you look now the web page is messed up in a different dirrection. It was off way to the right, but now it is way at the bottom.
  • RichB
  • Guru
  • Guru
  • User avatar
  • Joined: May 17, 2003
  • Posts: 1121
  • Loc: Boston
  • Status: Offline

Post January 17th, 2004, 9:10 am

I think maybe your problem is happening here:
Code: [ Select ]
  <!--end cell for left column of mainbody--><td height="100%" colspan="2" align="center"></td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
  <td width="593" bgcolor="#f1f1f1"><font color="#000000">kjgkjgjkgkgkjgkjgkjggjjgjgkjgkjgkgjkgkjgjkgkjg</font></td>
 </tr>
</table>
  1.   <!--end cell for left column of mainbody--><td height="100%" colspan="2" align="center"></td>
  2. <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  3.  <tr>
  4.   <td width="593" bgcolor="#f1f1f1"><font color="#000000">kjgkjgjkgkgkjgkjgkjggjjgjgkjgkjgkgjkgkjgjkgkjg</font></td>
  5.  </tr>
  6. </table>


The table that contains the gibberish string (I assume this is just a test output from php?) is outside the td which is empty. I may be misunderstanding your problem and it's a little hard to read the code generated by dreamweaver, but it doesn't look like that table should be where it is. Try sticking it inside the td and see if that helps:
Code: [ Select ]
  <!--end cell for left column of mainbody--><td height="100%" colspan="2" align="center">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
  <td width="593" bgcolor="#f1f1f1"><font color="#000000">kjgkjgjkgkgkjgkjgkjggjjgjgkjgkjgkgjkgkjgjkgkjjgjkgkjggjkgjk</font></td>
 </tr>
</table></td>
  1.   <!--end cell for left column of mainbody--><td height="100%" colspan="2" align="center">
  2. <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  3.  <tr>
  4.   <td width="593" bgcolor="#f1f1f1"><font color="#000000">kjgkjgjkgkgkjgkjgkjggjjgjgkjgkjgkgjkgkjgjkgkjjgjkgkjggjkgjk</font></td>
  5.  </tr>
  6. </table></td>
Free Programming Resources
  • Lucnet
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jan 16, 2004
  • Posts: 5
  • Status: Offline

Post January 17th, 2004, 11:45 am

Well now it moved back up and its not as far to the right as it was at first. Maybe you are on something here.
  • RichB
  • Guru
  • Guru
  • User avatar
  • Joined: May 17, 2003
  • Posts: 1121
  • Loc: Boston
  • Status: Offline

Post January 22nd, 2004, 1:37 am

Did you start from scratch? It looks a heck of a lot better. I tried looking for the error for quite some time, but when the table code gets that complicated sometimes it's better to just chuck it and start over.

Anyway it looks a lot better in both IE and Mozilla.
Free Programming Resources
  • Lucnet
  • Newbie
  • Newbie
  • User avatar
  • Joined: Jan 16, 2004
  • Posts: 5
  • Status: Offline

Post January 22nd, 2004, 4:23 am

I got rid of the includes (header, footer, and lect collum) I couldn't figure it out, so I just made a new page. You can still see the index one that has the problem at http://www.lucnetsolutions.com/index1.php Not sure what I did, but now the information on the index1.php will not display. I have a few words in the index to see what it would look like once I get it all lined up. If you look at source you can see that a little paragraph is in there.

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 111 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.