Index: wp-admin/css/wp-admin-rtl.css
===================================================================
--- wp-admin/css/wp-admin-rtl.css	(revision 24176)
+++ wp-admin/css/wp-admin-rtl.css	(working copy)
@@ -1458,6 +1458,19 @@
 	font-family: Tahoma, Arial, sans-serif;
 }
 
+#permalink-settings {
+	width: auto;
+}
+
+#permalink-settings code,
+#permalink_structure {
+	float: right;
+}
+
+.options-permalink-php code {
+	unicode-bidi: embed;
+}
+
 /*------------------------------------------------------------------------------
   21.0 - Admin Footer
 ------------------------------------------------------------------------------*/
Index: wp-admin/options-permalink.php
===================================================================
--- wp-admin/options-permalink.php	(revision 24176)
+++ wp-admin/options-permalink.php	(working copy)
@@ -234,7 +234,7 @@
 /* translators: %s is a placeholder that must come at the start of the URL path. */
 printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/%stopics/uncategorized/</code>. If you leave these blank the defaults will be used.'), $suffix ); ?></p>
 
-<table class="form-table">
+<table class="form-table" id="permalink-settings">
 	<tr>
 		<th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></th>
 		<td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td>
