473,503 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP with photoshop layout issue.

Chrisjc
375 Contributor
Okay so here is the break down. I have 3 pages.

Index.php
conversionTable.php
convertPost.php

Now my issue is the following.

Everything works just fine however

When I put a layout around my FORM and hit submit it sends gives me the feed back of everything but the layout that you see while filling out the form looks good everything is okay… now fill it out and hit submit. You will have to fill it all out to take a look at my issue. Please just put test in every field Zip code will need numbers and E-mail will need @ and a .com or . whatever is real.

<Link removed>

See what happens to the layout???

Anyone have any idea how I can come about this to make it stop doing that…

And should I post the code but which page would you like?
Sep 7 '07 #1
7 2177
Atli
5,058 Recognized Expert Expert
Hi.

Sorry but links to commercial web pages are considered advertisements and in most cases they are considered spam. It had to go.
If you have a ad-free mirror, or removed the links to the actual web, that would be a totally different story.

I did, however, take a look at the web before I removed the link, and I can probably tell you what the problem is.

Take a look at the HTML of the result page. There <body> tag is missing, there is no closing </HTML> tag... It's a mess.

Fix the HTML, so it looks like the submission page and I bet that will fix it.

Edit...
Ignore what I said about the <body> tag... I just spotted it :P (tho I can't spot the closing tag)
The colspans on the table cells are weird tho... that would be my next guess.
Sep 8 '07 #2
Atli
5,058 Recognized Expert Expert
Ok.. I figured it out..

It's the image, the one in the top-right corner. It is set to span over 2 columns, the one you meant to be the narrow border on the right side.
The image is 501 pixels, so it is stretching the border over more than half the page.
This probably does not affect the submission page because you have form elements blocking it's way.
Sep 8 '07 #3
Chrisjc
375 Contributor
Ok.. I figured it out..

It's the image, the one in the top-right corner. It is set to span over 2 columns, the one you meant to be the narrow border on the right side.
The image is 501 pixels, so it is stretching the border over more than half the page.
This probably does not affect the submission page because you have form elements blocking it's way.

didnt mean to make it come off like an ad or anything... sorry

issue is thats the same page that you see to start with... just it loads the php and displays that so it would have to be in the php its self... of why it is displayn like that... Thats what I need to figure out how to make it stop... becuase if I change anything in the index then it might mess up the start page to start with.
Sep 9 '07 #4
Atli
5,058 Recognized Expert Expert
Ok. The only problem is that the images at the top are messed up.
I would suggest that instead of splitting the three images over 3 <td> cells, put them all inside one <td> cell that is set to span over the entire 6 columns.
You would have to scale them so the last one won't jump down into the next line, because as they are, they are larger than the table and are actually stretching it.
Sep 9 '07 #5
Chrisjc
375 Contributor
Ok. The only problem is that the images at the top are messed up.
I would suggest that instead of splitting the three images over 3 <td> cells, put them all inside one <td> cell that is set to span over the entire 6 columns.
You would have to scale them so the last one won't jump down into the next line, because as they are, they are larger than the table and are actually stretching it.
That might work however when you do a layout like that in photoshop it slices things for you like that... its still the same page index.php just with the code reloading the filled in areas I think the only true way to fix this might be to put the php code in its own page in the center... so it would load only in the <td> center and thats it.. imma try that first

"like an IFRAME"
Sep 10 '07 #6
Atli
5,058 Recognized Expert Expert
Your doing this in photoshop? I didn't even know that was possible :P

I try not to allow any editor to control how my HTML markup is written, they tend to do a poor job at it.
Sep 10 '07 #7
Chrisjc
375 Contributor
Your doing this in photoshop? I didn't even know that was possible :P

I try not to allow any editor to control how my HTML markup is written, they tend to do a poor job at it.

Yeah called Slicing... anything I slice to make them a CELL or TABLE once I save it.. I dont agree much with it either it is very picky however it is the only way to be sure the images are correct.

the php is by hand. That might be nice if they had a program where it made the form on its own haha

but I agree it is a poor job. It is the only way to be sure the pictures will work correctly.
Sep 10 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

28
5530
by: Anthony Williams | last post by:
Good morning, I'm currently designing a site, using CSS, and wish to create a variable width two-column layout, with header and footer, and one fixed-width column on the left. Previously, I...
47
9077
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
20
24953
by: Tammy | last post by:
What would be a good alternative to using frames? I need something that will section my webpage into two halves and can change both frames on a single click. Thanks in Advance, Tammy
3
1531
by: Samuel Shulman | last post by:
I am looking for good guidance for positioning controls on the form.document, it is absolute nightmare and I don't know where to begin Thank you, Samuel Shulman
0
1126
by: yajiv | last post by:
i have seen many photoshop web layouts in internet. but i dont know how to use them in websites... another question, how to display links on mouse over, Like the same thescripts.com navigation bar?
7
2190
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the...
1
1321
by: fauxanadu | last post by:
I have a new document open in print layout. Then I attempt to insert an autoshape into the document. As soon as I click on the shape I want to input, word swaps into web layout and does nothing...
2
1855
by: muddasirmunir | last post by:
i had a file in pdf format in which includes some graphs, pdf file has lot of other information also. now i want to open a graphs in adobe photoshop , i need to open just only that graph and not...
0
7198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7271
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5570
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.