Jump to content


  • Posts

  • Joined

  • Last visited

phpjayx's Achievements


Member (2/5)



  1. I'm testing out a simple form. I'm wanting to have this code be available to other websites to use to allow them to send a couple of variables over to my site..... my test code isn't even working. I'm sure its something simple I'm doing incorrectly. Any help would be appreciated. Thanks in advance. ------------------------------------------------------ <form action="" method="post"> <div id="entry_fields"> <input class="textfield" id="email" placeholder="Email" autocorrect="off" type="text" autocapitalize="off"> <input class="textfield" id="name" type="password" placeholder="Name" autocorrect="off" autocapitalize="on"> </div> <div> <input type="button" value="Link to site" onClick="window.location.href='http://www.tester.com/MainPage.php?email=<?php echo $email?>'"> </div> </form>
  2. Here is the other version I tried.... this didn't either work to shrink it .myButtonA1 { background:url(/B1.png) no-repeat; border: none; display: inline-block; width: 50px; height: 50px; }
  3. yea... tried that.. still no luck. The resizing just doesn't seem to work. Even if I try to assign a specific pixel size to the image in CSS. The button just shows up as being empty. Any other suggestions on code to try out? This seems like it should be so simple but I can't fix this darn thing.
  4. I do have photoshop and Illustrator. I've used both, but the last one I saved B1.png with was Illustrator. I did not know about the @media query option. I will have to learn a bit about that. The attached pic is what I was trying to use.
  5. So I'm attempting it another way... with a PNG like mentioned... starting off with a larger high quality image. Looking at some web references it looks like this should load in the image... but nothing happens My debugger shows the image B1.png is loading... but I don't see it. Is the sizing messing something up. .myButtonA { background:url(/B1.png) no-repeat; margin:0; padding:0; width: 14%; height: 14%; border: none; }
  6. Maybe I just don't have the right tools.... I'm using Adobe Illustrator. Whenever I try to save my vector images as a PNG.... the quality goes way down and is somewhat distorted. If PNGs are working well for you, showing up with a high quality on IPADs or Iphones, what settings or method are you using to save them at a high quality?
  7. Still no luck fixing this issue. Are there any other image types that I should try which use vector images that may not have this issue?
  8. Well I just found one solution.... to just put a (number2 *1). This solved it..... I saw on another site someone posted to use....CAST(column AS DECIMAL). But I felt like the other was simpler... If there are any drawbacks to using the *1 method, please let me know. Thanks!
  9. {$sql_select = "select * from data where valid='1' and userid='" . $param['userid'] . "' order by number2, timestamp asc";} The above code sorts on the "number2", except when the numbers are 10 or above it is only sorting by the first number.... So if I had a list of the following the order is 1 1 1 10 11 11 12 2 20 21 3 4 5 etc Any help would be appreciated!!! Thanks in advance
  10. I've built a dynamic list using .JS and HTML similar to the code of the following line.... cellHtml += ' <input class="myButton1 w_50p h_70 margin_top_20px" onclick="' + onClickType2 + '" type="button">'; -------------------------- The problem is after getting about 7 or more rows built.... only on the IPAD I get images like the attached where about 2 out of the 7 lines the button images overlap with its own image.... It looks fine on my other safari browsers and the IPhone. For the safari browsers these are .PDF images to get the highest quality. Has anyone seen issues like this? Any other vector images that people recommend to use? Thanks in advance
  11. Ok... figured it out..... the simple line of the following worked..... margin-top:95px I assumed it wouldn't because I wanted it to work on different devices so I thought that it would differ from an IPAD to a PC to a IPhone, etc.... but it works fine
  12. This site has exactly what I'm looking for.... http://lifeinthegrid.com/simple-css-fixed-header/#codesyntax_4 But, I'm having trouble picking apart the code that would offset the Body of the text to make sure it starts at the correct vertical location..... Any help?
  13. So everything below the SUBMIT button is the list... but the first item on the list is behind the top section..... I was able to FIX the top section so it doesn't move with the above code, but I can't get the list to start below the Fixed section..... I need it assign it relative to the top section so it works on any device.... IPAD, PC, Android... etc...
  14. I have fixed some entry boxes on the list with the following.... #fixed_top { z-index:1; position:fixed; top:0%; height: auto; background-color:#ffffff; width: 99%; } I have a list below it, but the first item is alway behind the fixed area. How can I alway start it so the list starts below the "fixed_top"?
  15. I haven't updated my code on this page in a little while and now I'm getting this error at the top of my page.... Any tips on whats going on? I may just try a restart of my server -------------------------- Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at.........................
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.