-
Know PHP? Please HELP!
Sorry Lee, I know this should go in tech forum but it's driving me insane and i'm hoping for a quick solution.
I've setup a php voting script at http://www.thehottestcock.com
For some reason the pic/voting pages are adding something like five horizontal inches and a bottom scrollbar for no apparent reason. Does anyone have ANY idea what causes this? I have gone through the code dozens of times looking for a clue and I can't figure it out no matter what I try. I've checked all the Width tags many times and it dosn't seem to be a prob with those.
Does ANYONE have any idea? I'd really really appreciate it if someone can provide the solution to this.
-
If the script uses HTML templates make sure the main page width is set to a pixel amount rather than a percentage.
It looks to me like you have your HTML code set to 760% rather than 760 pixels.
Regards,
Lee
-
I've used Find in wordpad to check all the width tags dozens of times, they are all set to either "760" in quotations with no % sign anywhere, or "100%" in quotations.
If anyone needs a comparison, http://www.hungboys.com uses the exact same script but dosn't have the same problem.
-
DJ,
Change the width='760' to width='760px' just to see if that affects it :)
Regards,
Lee
-
How wide is your logo and is that in a frame?
-
It's funny because I've been having so much trouble with php as well.
(I think it was Lee who started a thread about it last week)
Anyway, I've been trying to get my voting page together for weeks and weeks.
I've had it on my pay site for a couple of years now but, a few weeks ago I decided to tweek it and make it better.
I know now why I gave up 2 years ago...lol
This is my voting page
http://www.eruptionzone.com/vote/index.php
My tables move up and down....I suppose I made too many changes and didn't/don't know enough about php and tables...so, it is what it is until I feel like pulling whats left of my hair out, and trying to fix it again
-
I downloaded your page...
You have 2 cells in the table where your logo sits, merge those 2 cells and reinsert your logo and it's fine.
-
Instead of this...
PHP Code:
<TABLE cellSpacing=0 cellPadding=5 width=760 border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left width=203>
<DIV align=left><A href="http://www.thehottestcock.com/"><IMG
alt="Help us find the HOTTEST cock in the world at The Hottest Cock"
src="The Hottest Cock_files/picturevoting.gif" border=0></A> </DIV></TD>
<TD vAlign=bottom noWrap align=right width=537>
<DIV align=center><!--CyKuH [WTN]--> </DIV></TD></TR></TBODY></TABLE></CENTER>
It should look like this...
PHP Code:
<TABLE cellSpacing=0 cellPadding=5 width=760 border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left width="750">
<DIV align=left><A href="http://www.thehottestcock.com/"><IMG
alt="Help us find the HOTTEST cock in the world at The Hottest Cock"
src="The Hottest Cock_files/picturevoting.gif" border=0></A> </DIV></TD>
</TR></TBODY></TABLE></CENTER>
-
Thanks X!
That was pretty damn obvious, especially considering how much wider my logo graphic is than the one that came with it. I'm a dork :p
I probably never would have figured that out though, I owe you bigtime!
-
No problem DJ. And checking your site, I see it works.