Previous Message
Next Message

Search box like in browsers toolbar

Sent by Dejan Kozina on 6 September 2005 18:06


Have you tried applying 'padding: 0 0 0 15px;' to '#SearchForm #Box'?
It behaves as requested in Moz 1.7.11, FF 1.0.6, IE 6 SP1, IE 5.5 SP2, 
IE 5.01 SP2.
It does nothing at all in Opera (8.02, 7.54u2, 7.23).
Netscape 7.01 and 6 have some major misunderstanding with the absolute 
position: as you enter text it appears wide off left in the middle of 
the header...

djn

Steve Clay wrote:
> Tuesday, September 6, 2005, 10:03:26 AM, Martin Petrov wrote:
> 
>>I don't want to position the image but to indent the text. I tried with
>>padding, but it just widens the box.
> 
> 
> You might remove the border and apply a background image that fakes it and
> extends it to the left.  This might be more reliable than left padding
> (what you'd use ideally) considering the cross-browser funkiness of form
> lements.
> 
> Steve

-- 
Dejan Kozina
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225
http://www.kozina.com/  - e-mail: [EMAIL-REMOVED]
______________________________________________________________________
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: