Jump to content

scott100

Members
  • Posts

    1,819
  • Joined

  • Last visited

Everything posted by scott100

  1. Ok, try this:<input type="text" size="5" maxlength="5" />Size sets the actual size of the text box in widthMaxlengh sets how many characters can be typed into the box.If you limit them to both 5 i think that's what your looking for.
  2. You can use CSS to make a printer friendly version of your webpage, this would save having 2 pages...save your css in a seperate file and link it to your page<link href="print.css" rel="stylesheet" media="print">When the user prints your page it will use the styles set in the external .css
  3. Hey, i wrote a simple test to see if firefox has problems with onload and it seems to be ok, the counter adds by one each time refresh is hit so i don't know if this helps you out any?--------------------------------------<head><script>function checkrefresh(){ var val=document.getElementById('one').value; val -=1; val +=2; document.getElementById('one').value=val;}</script></head><body onload="checkrefresh();"><input style="border:white" type="text" value="0" id="one" /></body>
×
×
  • Create New...