Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CSS and input of type file

0 views
Skip to first unread message

#include <nerd.h>

unread,
Dec 15, 2000, 5:32:41 PM12/15/00
to
is their _any_ way to define a style for a <INPUT TYPE="file"> so that the
background of the button is colored but the back of the textbox is left
white?

if separate they would be defined as:

...
.Input_Button{
BORDER : 0;
BACKGROUND : #727272;
COLOR : #FFFFFF;
CURSOR : hand;
}

.Input_Text{
BORDER : 1px solid #000000;
}
...

Steve Fulton

unread,
Dec 16, 2000, 8:12:34 AM12/16/00
to
Officially in CSS2:

input[type=file] {...}
input[type=text] {...}

But, of course, IE doesn't support attribute selectors[1].

---
[1] CSS2 Specification, http://www.w3.org/TR/REC-CSS2, Section 5.8

-=-=-
Steve
-=-=-

"#include <nerd.h>" <pythagora...@yahoo.com> wrote in message
news:#k9ISquZAHA.236@tkmsftngp04...

#include <nerd.h>

unread,
Dec 16, 2000, 2:56:48 PM12/16/00
to
thanks!

"Steve Fulton" <cerbe...@hotmail.com> wrote in message
news:uoDiJb2ZAHA.1312@tkmsftngp04...


> Officially in CSS2:
>
> input[type=file] {...}
> input[type=text] {...}
>
> But, of course, IE doesn't support attribute selectors[1].

<hopefully> IE6 </hopefully>


0 new messages