Skip to content

Commit

Permalink
Don't use HTML elements to format elements; use CSS instead
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 6, 2014
1 parent 723f522 commit 0719eab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imp/templates/contacts/contacts.html.php
Expand Up @@ -31,9 +31,9 @@
</select>
</td>
<td width="10%" class="contactsButtons">
<input id="btn_add_to" type="button" value="<?php echo _("To") ?> &gt;&gt;" /><br />&nbsp;<br />
<input id="btn_add_to" type="button" value="<?php echo _("To") ?> &gt;&gt;" />
<?php if (!$this->to_only): ?>
<input id="btn_add_cc" type="button" value="<?php echo _("Cc") ?> &gt;&gt;" /><br />&nbsp;<br />
<input id="btn_add_cc" type="button" value="<?php echo _("Cc") ?> &gt;&gt;" />
<input id="btn_add_bcc" type="button" value="<?php echo _("Bcc") ?> &gt;&gt;" />
<?php endif; ?>
</td>
Expand All @@ -48,7 +48,7 @@
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
<td colspan="2"></td>
<td>
<input id="btn_delete" type="button" value="<?php echo _("Remove") ?>" />
</td>
Expand Down
4 changes: 4 additions & 0 deletions imp/themes/default/contacts.css
Expand Up @@ -14,3 +14,7 @@
.contactsButtons input {
width: 60px;
}
#btn_add_cc,
#btn_add_bcc {
margin-top: 10px;
}

0 comments on commit 0719eab

Please sign in to comment.