Skip to content

Commit d89540a

Browse files
committed
Move table width to CSS. Props hansengel. see 5851
git-svn-id: https://develop.svn.wordpress.org/trunk@6850 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c75599d commit d89540a

10 files changed

Lines changed: 11 additions & 10 deletions

wp-admin/edit-category-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<input type="hidden" name="action" value="<?php echo $action ?>" />
2424
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
2525
<?php wp_nonce_field($nonce_action); ?>
26-
<table class="niceblue" width="100%">
26+
<table class="niceblue">
2727
<tr class="form-field form-required">
2828
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
2929
<td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /></td>

wp-admin/edit-link-category-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<input type="hidden" name="action" value="<?php echo $action ?>" />
2424
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
2525
<?php wp_nonce_field($nonce_action); ?>
26-
<table class="niceblue" width="100%">
26+
<table class="niceblue">
2727
<tr class="form-field form-required">
2828
<th scope="row" valign="top"><label for="name"><?php _e('Category name:') ?></label></th>
2929
<td><input name="name" id="name" type="text" value="<?php echo $category->name; ?>" size="40" /></td>

wp-admin/edit-tag-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<input type="hidden" name="action" value="<?php echo $action ?>" />
2424
<input type="hidden" name="tag_ID" value="<?php echo $tag->term_id ?>" />
2525
<?php wp_nonce_field($nonce_action); ?>
26-
<table class="niceblue" width="100%">
26+
<table class="niceblue">
2727
<tr class="form-field form-required">
2828
<th scope="row" valign="top"><label for="name"><?php _e('Tag name:') ?></label></th>
2929
<td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" /></td>

wp-admin/options-discussion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<h2><?php _e('Discussion Settings') ?></h2>
1212
<form method="post" action="options.php">
1313
<?php wp_nonce_field('update-options') ?>
14-
<table class="niceblue" width="100%">
14+
<table class="niceblue">
1515
<tr valign="top">
1616
<th scope="row"><?php _e('Default article settings') ?></th>
1717
<td>

wp-admin/options-general.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<h2><?php _e('General Settings') ?></h2>
1212
<form method="post" action="options.php">
1313
<?php wp_nonce_field('update-options') ?>
14-
<table class="niceblue" width="100%">
14+
<table class="niceblue">
1515
<tr valign="top">
1616
<th scope="row"><?php _e('Blog Title') ?></th>
1717
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>

wp-admin/options-misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<form method="post" action="options.php">
1414
<?php wp_nonce_field('update-options') ?>
1515
<h3><?php _e('Uploading'); ?></h3>
16-
<table class="niceblue" width="100%">
16+
<table class="niceblue">
1717
<tr valign="top">
1818
<th scope="row"><?php _e('Store uploads in this folder'); ?></th>
1919
<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />

wp-admin/options-privacy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<h2><?php _e('Privacy Settings') ?></h2>
1212
<form method="post" action="options.php">
1313
<?php wp_nonce_field('update-options') ?>
14-
<table class="niceblue" width="100%">
14+
<table class="niceblue">
1515
<tr valign="top">
1616
<th scope="row"><?php _e('Blog Visibility') ?> </th>
1717
<td>

wp-admin/options-reading.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<h2><?php _e('Reading Settings') ?></h2>
1212
<form name="form1" method="post" action="options.php">
1313
<?php wp_nonce_field('update-options') ?>
14-
<table class="niceblue" width="100%">
14+
<table class="niceblue">
1515
<?php if ( get_pages() ): ?>
1616
<tr valign="top">
1717
<th scope="row"><?php _e('Front page displays')?></th>

wp-admin/options-writing.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<form method="post" action="options.php">
1313
<?php wp_nonce_field('update-options') ?>
1414

15-
<table class="niceblue" width="100%">
15+
<table class="niceblue">
1616
<tr valign="top">
1717
<th scope="row"> <?php _e('Size of the post box') ?></th>
1818
<td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em; " />
@@ -60,7 +60,7 @@
6060
<h3><?php _e('Post via e-mail') ?></h3>
6161
<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), wp_generate_password(), wp_generate_password(), wp_generate_password()) ?></p>
6262

63-
<table class="niceblue" width="100%">
63+
<table class="niceblue">
6464
<tr valign="top">
6565
<th scope="row"><?php _e('Mail Server') ?></th>
6666
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />

wp-admin/wp-admin.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ html, body {
877877
.niceblue {
878878
border-collapse: collapse;
879879
margin-top: 1em;
880+
width: 100%;
880881
}
881882

882883
.niceblue td {

0 commit comments

Comments
 (0)