User Profile

Collapse

Profile Sidebar

Collapse
media3000anthony
media3000anthony
Last Activity: Apr 2 '08, 01:41 PM
Joined: Mar 30 '08
Location: Huddersfield, England
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Using javascript, here is a start:

    [HTML]<input type='text' name='num' onkeyup="this.v alue=this.value .replace(/[^0-9\.]/g, '');" />[/HTML]

    I tried code to stop the user entering more than 1 decimal place, or more than 10, but it made it too aggressive.

    Would you like me to write more code, to restrict to: X or 10 or X.X, and append just a warning message after the box ?

    Regards,...
    See more | Go to post

    Leave a comment:


  • Hi,

    As a starter, I learnt at w3schools CSS tutorial

    If the text is something that will never / rarely change, then I'd use an image editing package.

    Other than that, I think this is outside the scope of CSS.

    Regards,
    Anthony
    See more | Go to post

    Leave a comment:


  • media3000anthony
    replied to Add a background Image
    in PHP
    Hello infoseekar,

    I once had this problem.
    It took me ages to solve.
    Maybe this is the solution for you.

    What happened:

    I saved a png image file from a website, but stupidly saved it as .jpg

    When I came to use the image as a background:
    • Firefox showed it just fine
    • Internet explorer would not show it, no matter what I did


    The solution was to re-save the...
    See more | Go to post

    Leave a comment:


  • media3000anthony
    replied to drop down pblm in php ?...
    in PHP
    Hello ajaymohank,

    Why not generate the dropdown like this:
    [HTML]<form action='form_pr ocessor.php' action='post'>
    <select name='village'>
    <option value='1|Chande ri'>Chanderi</option>
    <option value='5|Balend er'>Balender</option>
    <option value='8|Porban der'>Porbander</option>
    </select>
    </form>[/HTML]

    Then...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...