spirit posteets tagged html  [ Profile ]

Sort by: Date / Title /

  1. 9 years ago
    1. function clearDefault(el) {
    2.   if (el.defaultValue==el.value) el.value = ""
    3. }
    4.  
    5. // Then call this function using the 'onfocus' value of your input box:
    6.  
    7. <input value="Your Comment" onfocus="clearDefault(this)" type="text">
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1862"></script>
  2. 9 years ago
    1. En HTML:
    2. <img src="..." align="absmiddle" /> Texte
    3.  
    4. En CSS :
    5. <img src="..." style="vertical-align:middle" /> Texte
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1707"></script>
  3. 9 years ago
    1. <!-- Add autocomplete = "off" in the form tag -->
    2.  
    3. <!-- Example -->
    4. <form name="form1" id="form1" method="post" autocomplete="off"
    5.   action="http://www.example.com/form.cgi">
    6. [...]
    7. </form>
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1697"></script>
  4. sponsorised links
  5. 10 years ago
    Useful for displaying code snippets for example
    1. pre {
    2. white-space: pre-wrap; /* css-3 */
    3. white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    4. white-space: -pre-wrap; /* Opera 4-6 */
    5. white-space: -o-pre-wrap; /* Opera 7 */
    6. word-wrap: break-word; /* Internet Explorer 5.5+ */
    7. }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1642"></script>
  6. 10 years ago
    Controler l'ordre des tabulations dans un formulaire HTML (attribut tabindex)
    1.   <title>Controlling TAB Order</title>
    2. </head>
    3.     Field 1 (first tab selection):
    4.     <input type="text" name="field1" tabindex=1 /><br />
    5.     Field 2 (third tab selection):
    6.     <input type="text" name="field2" tabindex=3 /><br />
    7.     Field 3 (second tab selection):
    8.     <input type="text" name="field3" tabindex=2 /><br />
    9.   </form>
    10. </body>
    11. </html>
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1553"></script>

First / Previous / Next / Last / Page 1 of 1 (5 posteets)