Results 1 to 10 of 10

Thread: Know PHP? Please HELP!

  1. #1
    DigitalJay
    Guest

    WTF? 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.


  2. #2
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    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


  3. #3
    DigitalJay
    Guest
    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.


  4. #4
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    DJ,

    Change the width='760' to width='760px' just to see if that affects it

    Regards,

    Lee


  5. #5
    Rainbo1956
    Guest
    How wide is your logo and is that in a frame?


  6. #6
    Rainbo1956
    Guest
    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...

    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


  7. #7
    Xstr8guy
    Guest
    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.


  8. #8
    Xstr8guy
    Guest
    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]-->&nbsp;</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


  9. #9
    DigitalJay
    Guest
    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!


  10. #10
    Xstr8guy
    Guest
    No problem DJ. And checking your site, I see it works.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •