As far as I know, there are two ways: 1. Pretty solution. Use background-position.
2. Not so pretty solution. Add white pixels to the image itself. Good luck! Cheers, Jakob Persson > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Martin Petrov > Sent: Tuesday, September 06, 2005 4:11 AM > To: [email protected] > Subject: [css-d] Search box like in browsers toolbar > > Hi all, > > I want to have a search field with an image inside, like the > search boxes in Opera or Firefox toolbars. I can put a > background on the input field,but I also want to have some > padding from the left border (or text indent). They don't work... > > Do you know any way to achieve this? > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > 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/ > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/
