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

CSS / Select Object

1 view
Skip to first unread message

Kurt Schärer

unread,
Jan 8, 2001, 6:50:13 PM1/8/01
to
Hello

i defined a form field this way:

<input type="text" name="First Name" size="30" maxlength="60"
style="BORDER-RIGHT: #444444 1px solid; BORDER-TOP: #444444 1px solid;
BORDER-LEFT: #444444 1px solid; COLOR: black; BORDER-BOTTOM: #444444 1px
solid; BACKGROUND-COLOR: #ffffff";>

that works perfectly, in IE 5.5 i can see the nice field... instead of the
boring standard style.

but this doesn't work with a SELECT object...


that code DOESN'T WORK >>

<select name="Software" style="BORDER-RIGHT: #444444 1px solid;
BORDER-TOP: #444444 1px solid; BORDER-LEFT: #444444 1px solid; COLOR: black;
BORDER-BOTTOM: #444444 1px solid; BACKGROUND-COLOR: #ffffff";>
<option value="0" selected>Please choose</option>
<option>Option 1</option>
<option>Option 2</option>
</select>


how can i change the style of the select object? is this possible?
i would be glad if anybody could help me, thx!


Tim FitzGerald

unread,
Jan 8, 2001, 9:56:12 PM1/8/01
to
Even in programming, it is difficult to override (in Windows) the borders of
combo-box and list-box controls (which are the types of controls rendered in
IE5 when it finds a SELECT element). This is probably why Explorer hasn't
bothered supporting such stylesheets parameters for that element. Same goes
for the OPTION elements.

Sorry.

Tim FitzGerald
Netronix.ca


"Kurt Schärer" <p...@guns-n-roses.ch> wrote in message
news:93djon$4bg$1...@news1.sunrise.ch...

0 new messages