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

flat input text box

0 views
Skip to first unread message

haode

unread,
Dec 11, 2003, 9:17:44 PM12/11/03
to
I want a flat input text box so users cannot notice this is a input box or
just a label.

Thanks


PeterMcC

unread,
Dec 12, 2003, 4:23:23 AM12/12/03
to
haode wrote:
> I want a flat input text box so users cannot notice this is a input
> box or just a label.

Change the borders on input.

input {border:0px;} will remove the borders altogether - adjust to
requirements.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.

haode

unread,
Dec 12, 2003, 5:00:37 AM12/12/03
to
thanks.
btw, I want the color of font is black not gray when disabled.

<input name="" type="text" value="aaa" style="border:0px;color:black"
disabled>

"PeterMcC" <pe...@mccourt.org.uk> wrote in message
news:TPfCb.20369$lm1.1...@wards.force9.net...

Mark Boyett

unread,
Dec 12, 2003, 2:40:48 PM12/12/03
to
The 'disabled' attribute by default grays out the element
in question - there is no getting around it. You can
assign a bold font weight:
...style="border:none;font-weight:bold"

A font-weight value of 'bolder' is also a valid CSS2 value.
Hope this helps.

>.
>

0 new messages