GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 29-Jan-2004, 09:10
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about

ModernBill Order Process Text Box Alignment Problems


I am having a problem with displaying my text boxes in an orderly fashion. Currently I am using ModernBill with a custimized order form. On my first part of step 4 (The order form), it looks fine and it lines up perfect. Then, on my 2nd part of step 4(after you click continue on step 4 for the 1st time you come to the 2nd part of it), you will notice that the text boxes look ugly, and have no proper alignment.

How would I fix this? All of the php code is confusing me too much to the point I just cannot figure it out. Any ideas? Here are some of the files I am using for step 4. You can view my problems at www.mrbobdouglas.com/billing/order then procede to step 4. I think I just need a push in the right direction.

Filename: enter_additional_details.inc.php
[copyright material - please see license details]
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business.
  #2  
Old 29-Jan-2004, 09:11
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about
Btw, you can do a sample order process, just do not pay for it at the end when it asks you to, lol.
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business.
  #3  
Old 29-Jan-2004, 09:14
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Bobby, please stop posting code off this script here. It has been confirmed by Michael of modernbill that you are not allowed to do this. I will edit your post above.
  #4  
Old 29-Jan-2004, 09:18
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about
Oh. I did not know that.... I thought I forgot to hit submit last time when I thought I posted this. Thanks for letting me know.. eh. I will ask them if I can.

Since it is a custom form, they said they can't help me with it.
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business.
  #5  
Old 29-Jan-2004, 17:13
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about
I have permission to post the code. Should I just not bother with it now? I still need help. Michael of modernbill was not the one who coded it btw.
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business.
  #6  
Old 29-Jan-2004, 22:01
cs2 cs2 is offline
Member
 
Join Date: May 2003
Location: California
Posts: 107
cs2 will become famous soon enough
Quote:
Originally Posted by BobbyDouglas
I have permission to post the code. Should I just not bother with it now? I still need help.
I don't think it matters, as the problem appears to be HTML, not PHP. BTW, there is an even worse alignment problem than the one you noted, if you click Continue from the 1st viewing of page 4 and omit a required field.

Part of the problem is in the way you have nested tables, and some of it is just invalid HTML. For example, here is a line with several mistakes:

HTML Code:
<td width="100%" bgcolor="#83A8C5"><b><font color="#FFFFFF"><font color="#FFFFFF">»</font> Step 4 - Enter Contact Details</font></b></td>
It should be:

HTML Code:
<td width="100%" bgcolor="#83A8C5"><font color="#FFFFFF"><b>&raquo; Step 4 - Enter Contact Details</b></font></td>
I think your best bet at nailing this is to check the problem pages with an online validator.
__________________
The Whole Internet, LLC
Visit our Homepage, -or-
use our online CSS Editor
Last edited by JdS : 30-Jan-2004 at 02:52. Reason: Corrected bbcode
  #7  
Old 30-Jan-2004, 12:26
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about
Thanks for pointing that out. There are many different variables that determine what is the final output (html wise). The problem isn't the script outputing bad html.

It is where in the script do I modify the display.

With ModernBill, you use two files for the template, one is the header, other is the footer. Then it prints the header, then the actual content, followed by the footer, pretty simple. I am however, trying to change the "content" area. Which is all written in php with some html. I am unsure where to place the html to produce the final effect of a nicely aligned form.
---
JdS, I have permission to post the code, may I do so now so I am able to get help please?
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business.
  #8  
Old 30-Jan-2004, 21:20
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Send me the file(s) in an email and I will extract the necessary snippets of code and paste them in a reply.

According to their 2nd email on posting Modernbill code:
Quote:
If he posts an entire file or contents of an entire file, then we have issues..
 
 

Recent GIDBlogMeeting the local Iraqis by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:12.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.