CSS brainfart. Can anyone help a brotha out?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TripleXPrint
    Confirmed User
    • Apr 2007
    • 983

    #1

    CSS brainfart. Can anyone help a brotha out?

    I have two separate stylesheets; one for my front-end and another for my admin section. The admin section is a database application with a bunch of form elements. I want to restyle the form elements but there are no classes or IDs assigned to them. Is there a way to style all of my form elements as html tags the same way you would a <p> or <h1> tag?

    I don't have full access to the source code so I cannot go in and assign classes to each element. Otherwise I would have done that.
    Skype: Triplexprint
  • Rofl
    Confirmed User
    • Feb 2010
    • 129

    #2
    Yes.

    input {
    width: 100%;
    color: #000;
    }

    etc etc

    input
    select
    textarea
    form

    are selectors you can use
    ICQ: 350550117

    Comment

    • TripleXPrint
      Confirmed User
      • Apr 2007
      • 983

      #3
      Originally posted by Rofl
      Yes.

      input {
      width: 100%;
      color: #000;
      }

      etc etc

      input
      select
      textarea
      form

      are selectors you can use
      I don't care what they say about you, you're A-OK in my book. Thanks, it's late and I figured it would be something simple. It's hard to find answers on Google anymore...I just GFY it instead.
      Skype: Triplexprint

      Comment

      • Serge Litehead
        Confirmed User
        • Dec 2002
        • 5190

        #4
        google knows your next question

        http://www.google.com/search?source=...nt+input+types

        Comment

        Working...