
Bij Firefox, Safari en IE8 is de zoekknop goed. Alleen bij IE6 en IE7 heb ik problemen. Het ziet er niet uit zoals het hoort en ook kan ik helemaal niks invoeren.
Cascading Stylesheet:
1
2
3
4
5
| li.search form { height:32px; width:217px; background:url(images/search.png) repeat-x 0px -32px #ff00ff; padding:0px; margin-left:90px;} fieldset.input_bar { padding:0px 0px 0px 10px; height:32px; border:0px; background:url(images/search.png) 0px 0px no-repeat; float:left;} fieldset.input_bar input { border:0px; margin:0px; width:183px; line-height:22px; height:22px; padding:0px; position:absolute; top:133px; } fieldset.search_button { height:32px; position:relative; left:185px; width:22px; text-indent: -5000px; background:url(images/search.png) 0px -64px no-repeat;} fieldset.search_button:hover { background-position: 0px -96px; cursor:pointer; } |
HTML:
1
2
3
4
5
| <li class="search"> <form action="http://arie.nl/" method="post"> <fieldset class="input_bar"><input type="text" name="search"/></fieldset> <fieldset class="search_button"><input name="submit" type="image" value="Zoeken" class="search_button"/></fieldset> </form> |
Ik heb het ook geprobeerd met input type="image" en dan ziet het er al iets beter uit (de uitlijning klopt dan nog niet) maar dan kan ik ook nog niks invoeren. Hoe krijg ik het zo dat het er ook goed uit ziet in ie 6 en ie7
Inside The Matrix, they are everyone, and they are no one.