Permalink
Browse files

moved checkbox to last column on tables.

  • Loading branch information...
pilu committed Jan 26, 2009
1 parent 4a7ac72 commit 0691f80e9cf6db89a7b598394c1d2344f3e29965
Showing with 11 additions and 11 deletions.
  1. +8 −8 index.html
  2. +3 −3 stylesheets/base.css
View
@@ -105,24 +105,24 @@ <h2 class="title">Text</h2>
<h2 class="title">Tables</h2>
<div class="content">
<table class="table">
- <tr>
- <th class="first"><input type="checkbox" class="toggle" /></th>
- <th>ID</th>
+ <tr>
+ <th class="first">ID</th>
<th>Login</th>
<th>Name</th>
- <th class="last">Surname</th>
+ <th>Surname</th>
+ <th class="last checkbox"><input type="checkbox" class="toggle" /></th>
</tr>
<tr>
- <td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>1</td><td>hulk</td><td>Hulk</td><td>Hogan</td>
+ <td>1</td><td>hulk</td><td>Hulk</td><td>Hogan</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
</tr>
<tr>
- <td><input type="checkbox" class="checkbox" name="id" value="2" /></td><td>2</td><td>ultimate</td><td>Ultimate</td><td>Warrior</td>
+ <td>2</td><td>ultimate</td><td>Ultimate</td><td>Warrior</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
</tr>
<tr>
- <td><input type="checkbox" class="checkbox" name="id" value="3" /></td><td>3</td><td>andre</td><td>Andre</td><td>The Giant</td>
+ <td>3</td><td>andre</td><td>Andre</td><td>The Giant</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
</tr>
<tr>
- <td><input type="checkbox" class="checkbox" name="id" value="4" /></td><td>4</td><td>machoman</td><td>Macho Man</td><td>Randy Savage</td>
+ <td>4</td><td>machoman</td><td>Macho Man</td><td>Randy Savage</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
</tr>
</table>
<div class="pagination">
View
@@ -175,12 +175,12 @@ body {
text-align: left;
}
-.table th.first {
+.table th.last {
width: 30px;
}
-.table input[type="checkbox"] {
- margin-left: 10px;
+.table th.checkbox {
+ padding: 10px;
}
.table td {

0 comments on commit 0691f80

Please sign in to comment.