Ich musste mit Erschrecken feststellen, dass das CSS für die Mac OS X ähnliche Suche in WordPress nicht mit dem Internet Explorer funktioniert. Hier nun das veränderte CSS, welches mit allen Browsern laufen sollte:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #searchform { margin: 10px auto; padding: 5px 3px; text-align: center; } #searchform .left{ background: transparent url(images/search_left.png) no-repeat; height: 19px; width: 20px; display: block; float:left; } #searchform .right{ background: transparent url(images/search_right.png) no-repeat; height: 19px; width: 10px; display: block; float:left; } #searchform input{ width: 100px; border:0; float:left; height: 19px; font-size: 11px; padding-top:2px; background: transparent url(images/search_repeat.png) repeat-x center top; } #searchform input:focus{ border: 0; outline: none; } |
Pingback: Mac OS X ähnliche Suche in Wordpress | Bennis Welt - Benjamin Vötterle