[thelist] accessing an input type (ie checkbox) through a nested CSS style

Anthony Ettinger apwebdesign at yahoo.com
Wed Sep 7 09:49:47 CDT 2005

<div class="obscure">
  <input type="text" .../>

.obscure input { font-size: 10px; background-color:
#ccc; }

--- Roger Newbrook
<roger.newbrook at scientiasolutions.com> wrote:

> Hello boys and girls,
> I am trying to style a series of forms using CSS. I
> have access to the
> stylesheet to do this but not the actual codebase to
> add necessary
> additional classes etc.
> I want to redefine my text boxes with a different
> than default border.
> Initially I achieved this through redefining the
> input tag. A side effect of
> this is, that in redefing the input tag I am
> inheriting the redefined border
> on checkboxes and radio buttons.
> I have googled about on this problem, and the
> general idea/solution is that
> certain input types are given a corresponding class
> (ie <input
> type="checkbox" class="checkbox">. Here lies the
> problem, I don't have
> access to the forms to change the code. :( (reminds
> me a bit of the song
> "there's a hole in my bucket dear Liza")
> some other sites suggest using definitions such as
> input.text or input[type="text"] as ways of
> accessing the input type. I have
> experimented with this but can't get them to work.
> Am I missing something
> simple here? Has anyone tackled a problem like this
> before?
> hope someone can help...
> Roger
> -- 
> * * Please support the community that supports you. 
> * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip
> Harvester 
> and archives of thelist go to:
> http://lists.evolt.org 
> Workers of the Web, evolt ! 

Anthony Ettinger
ph: (408) 656-2473
blog: http://www.chovy.com

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the thelist mailing list