473,472 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

use CSS to flatten a tickbox?

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
4 5770
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Francis Avila | last post by:
Below is an implementation a 'flattening' recursive generator (take a nested iterator and remove all its nesting). Is this possibly general and useful enough to be included in itertools? (I know...
0
by: Francis Avila | last post by:
A few days ago (see the 'itertools.flatten()?' thread from October 28) I became obsessed with refactoring a recursive generator that yielded the leaves of nested iterables. When the dust settled,...
10
by: bearophile | last post by:
This is my first Python program (it's an improvement of a recursive version by Luther Blissett). Given a list like this: , ]]] It produces the "flatted" version: I think this operation is...
3
by: Bengt Richter | last post by:
What am I missing? (this is from 2.4b1, so probably it has been fixed?) def flatten(list): l = for elt in list: ^^^^--must be expecting list instance or other sequence t = type(elt) if t...
18
by: Ville Vainio | last post by:
For quick-and-dirty stuff, it's often convenient to flatten a sequence (which perl does, surprise surprise, by default): ]]] -> One such implementation is at ...
181
by: Tom Anderson | last post by:
Comrades, During our current discussion of the fate of functional constructs in python, someone brought up Guido's bull on the matter: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 ...
25
by: beginner | last post by:
Hi, I am wondering how do I 'flatten' a list or a tuple? For example, I'd like to transform or ] to . Another question is how do I pass a tuple or list of all the aurgements of a function to...
1
by: farooq.omar | last post by:
Is there a way to specify to Flatten() method as to how many points it should return. example I just want the Flatten() method to give back 100 points (basicallt gp.PointCount==100). Thanks
1
by: Simon | last post by:
Dear reader, In a Make-Table query the TickBox from the master table transfers in to a binary value in the new table. How can I force the Make-table query to keep the TickBox in the new...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.