Hack hack hack...

An open journal-- some of it written for you, but most of it is for me.

HTML

For adding icons to link_to, this has worked wonders for me…

Some Examples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<form action="what_page_is_this_being_submitted_to" method="POST/GET" name="my_form">
  <fieldset>
  <legend>Important Information</legend>
      <label for="username">Username</label>
      <!-- this is asssociated with the ID -->
      <input type="text" name="username" id="username">
      <input type="radio" name="gender" value="male">Male<br>
      <input type="radio" name="gender" value="female">female<br>
      <!-- if you use the same name like above you can't select both buttons, with a different name you could -->
      <input type="checkbox" name="foods" value="grapes">Grapes<br>
  </fieldset>

  <textarea name="essay" rows="10" col="30">
  </textarea><br>

  <select>
      <optgroup label="Americas">
          <option>N. America</option>
          <option>S. America</option>
      </optgroup>
      <option>Europe</option>
      <option>Africa</option>
  </select>
  <input type="submit" value="Continue">
</form>

Comments