By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,379 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,379 IT Pros & Developers. It's quick & easy.

use CSS to flatten a tickbox?

P: n/a
Hi
I don't know CSS but am just dipping my toe in the water.
I have a form on my site, and have used CSS to "flatten" the
text-input areas of the form (i.e. remove the 3D embossing around the
edges, and replace it with a 1px line).

I used this code:

textarea, select, input, object {
border: solid 1px #eeeeee;
}

Is there similar code to flatten form tickboxes?

Thanks for any advice you can give,
Toby
Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 12 Jan 2004 05:31:29 -0800, Toby Newman declared in
comp.infosystems.www.authoring.html:

Is there similar code to flatten form tickboxes?


Put them in front of a stampede of elephants.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #2

P: n/a
Mark Parnell <we*******@clarkecomputers.com.au> wrote in message news:<p2******************************@40tude.net> ...
On 12 Jan 2004 05:31:29 -0800, Toby Newman declared in
comp.infosystems.www.authoring.html:

Is there similar code to flatten form tickboxes?


Put them in front of a stampede of elephants.


Thankyou for your valued input ;)

I was thinking maybe something like

textarea, tickbox, select, input, object {
border: solid 1px #eeeeee;
}

existed.
Toby
Jul 20 '05 #3

P: n/a
Quoth the raven named Toby Newman:
Mark Parnell <we*******@clarkecomputers.com.au> wrote in message news:<p2******************************@40tude.net> ...
On 12 Jan 2004 05:31:29 -0800, Toby Newman declared in
comp.infosystems.www.authoring.html:
Is there similar code to flatten form tickboxes?


Put them in front of a stampede of elephants.


Thankyou for your valued input ;)

I was thinking maybe something like

textarea, tickbox, select, input, object {
border: solid 1px #eeeeee;
}


Do you mean a checkbox? There is no "tickbox"

<input type="checkbox" name="chkThis" checked> "Tick" here if...

http://www.htmlhelp.com/reference/ht...rms/input.html

--
-bts
-This space intentionally left blank.
Jul 20 '05 #4

P: n/a
On 13 Jan 2004 08:30:31 -0800, Toby Newman declared in
comp.infosystems.www.authoring.html:
Mark Parnell <we*******@clarkecomputers.com.au> wrote in message news:<p2******************************@40tude.net> ...
On 12 Jan 2004 05:31:29 -0800, Toby Newman declared in
comp.infosystems.www.authoring.html:

Is there similar code to flatten form tickboxes?
Put them in front of a stampede of elephants.


Thankyou for your valued input ;)


No worries. :-)

I was thinking maybe something like

textarea, tickbox, select, input, object {
border: solid 1px #eeeeee;
}

existed.


There is no such thing as a tickbox, it is a checkbox. But it is an
attribute of the input element anyway, so the above would still not
work, even with checkbox instead of tickbox.

Since checkboxes are actually input elements, if your original code
doesn't work, it is highly unlikely that you will ever get it to work.
Browsers are very picky as to what they will allow authors to do to
field elements. And rightly so. A 2-d checkbox wouldn't really look like
a checkbox, and users may get confused.

To summarise - you can't do it. And your users will probably be glad
that you can't. :-)

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.