Move table width to CSS. Props hansengel. see 5851

git-svn-id: http://svn.automattic.com/wordpress/trunk@6850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-14 15:33:56 +00:00
parent 91f1b07cbf
commit c2fd99fd56
10 changed files with 11 additions and 10 deletions

View File

@ -23,7 +23,7 @@ if ( ! empty($cat_ID) ) {
<input type="hidden" name="action" value="<?php echo $action ?>" />
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
<td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /></td>

View File

@ -23,7 +23,7 @@ if ( ! empty($cat_ID) ) {
<input type="hidden" name="action" value="<?php echo $action ?>" />
<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="name"><?php _e('Category name:') ?></label></th>
<td><input name="name" id="name" type="text" value="<?php echo $category->name; ?>" size="40" /></td>

View File

@ -23,7 +23,7 @@ if ( ! empty($tag_ID) ) {
<input type="hidden" name="action" value="<?php echo $action ?>" />
<input type="hidden" name="tag_ID" value="<?php echo $tag->term_id ?>" />
<?php wp_nonce_field($nonce_action); ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr class="form-field form-required">
<th scope="row" valign="top"><label for="name"><?php _e('Tag name:') ?></label></th>
<td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" /></td>

View File

@ -11,7 +11,7 @@ include('admin-header.php');
<h2><?php _e('Discussion Settings') ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr valign="top">
<th scope="row"><?php _e('Default article settings') ?></th>
<td>

View File

@ -11,7 +11,7 @@ include('./admin-header.php');
<h2><?php _e('General Settings') ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr valign="top">
<th scope="row"><?php _e('Blog Title') ?></th>
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>

View File

@ -13,7 +13,7 @@ include('admin-header.php');
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<h3><?php _e('Uploading'); ?></h3>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr valign="top">
<th scope="row"><?php _e('Store uploads in this folder'); ?></th>
<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" />

View File

@ -11,7 +11,7 @@ include('./admin-header.php');
<h2><?php _e('Privacy Settings') ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr valign="top">
<th scope="row"><?php _e('Blog Visibility') ?> </th>
<td>

View File

@ -11,7 +11,7 @@ include('admin-header.php');
<h2><?php _e('Reading Settings') ?></h2>
<form name="form1" method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<?php if ( get_pages() ): ?>
<tr valign="top">
<th scope="row"><?php _e('Front page displays')?></th>

View File

@ -12,7 +12,7 @@ include('admin-header.php');
<form method="post" action="options.php">
<?php wp_nonce_field('update-options') ?>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr valign="top">
<th scope="row"> <?php _e('Size of the post box') ?></th>
<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 @@ endforeach;
<h3><?php _e('Post via e-mail') ?></h3>
<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>
<table class="niceblue" width="100%">
<table class="niceblue">
<tr valign="top">
<th scope="row"><?php _e('Mail Server') ?></th>
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />

View File

@ -877,6 +877,7 @@ html, body {
.niceblue {
border-collapse: collapse;
margin-top: 1em;
width: 100%;
}
.niceblue td {