Previous Message
Next Message

Search box like in browsers toolbar

Sent by Michael Landis on 6 September 2005 21:09


On 9/6/05, Martin Petrov [EMAIL-REMOVED]> wrote:

> Padding-left doesn't work in Opera :(

It looks like Opera is a loss, but perhaps an "almost-decent"
degradation can be done by putting the image on a wrapping element.
Most browsers let you remove the text input's border. Therefore, you
can wrap the input in something with a border and the image, then
unborder the input:

http://michael4css.info/examples/image-in-search.html

It looks a little odd in Opera, since Opera doesn't let you remove the
border, but at least the image appears related to it and doesn't get
in the way.

For some reason my example in IE 5.x PC has additional margins on the input.....

HTH,

Michael
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: