Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Nuked superfluous IDs from search form inputs

  • Loading branch information...
commit 248ffb99ed22b5ab6f4b54e71a776f89fca88c32 1 parent 65b8bed
@splorp authored
View
22 searchform.php
@@ -1,11 +1,11 @@
-<?php
-/**
- * @package WordPress
- * @subpackage Tersus
- */
-?>
-
-<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
- <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
- <input type="submit" id="searchsubmit" value="Search" />
-</form>
+<?php
+/**
+ * @package WordPress
+ * @subpackage Tersus
+ */
+?>
+
+<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
+ <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" />
+ <input type="submit" value="Search" />
+</form>
View
4 style/css/layout-advanced.css
@@ -76,14 +76,14 @@ input[type=url] {
padding: .5em;
}
-input[type=text]#s {
+form#searchform input[type=text] {
background: #DDD;
color: #333;
border: 1px solid transparent;
width: 95%;
}
-input[type=submit]#searchsubmit {
+form#searchform input[type=submit] {
display: none;
}
View
4 style/css/layout-superginormous.css
@@ -18,7 +18,7 @@ a {
text-decoration: none;
}
-input[type=text]#s {
+form#searchform input[type=text] {
background: #fff;
border: 1px solid transparent;
border-radius: 20px;
@@ -27,7 +27,7 @@ input[type=text]#s {
width: 95%;
}
-input[type=submit]#searchsubmit {
+form#searchform input[type=submit] {
display: none;
}
Please sign in to comment.
Something went wrong with that request. Please try again.