Cannonball!!!!!

kinkkink serious memberVPS - Virtual Prince of the Server
How do i get css to affect only a certain group of inputs?
for instance say i have fifty inputs on a page and ten of them i want larger and with a colored background. how do i do it without affecting all of them?

Comments

  • summoner49summoner49 Member NAT Warrior
    gotta add a .something and then rename the inputs you want affected.

    for example:

    normal h1:

    h1
    {
    background-color: blue;
    }

    seperate ones:

    h1.red
    {
    background-color: red
    }

    then when do the seperate h1's, you have to put a type="red" or something like that, sorry not sure if thats the right attribute.
  • summoner49summoner49 Member NAT Warrior
    nope, its class="red", there ya go
  • kinkkink serious member VPS - Virtual Prince of the Server
    thx, i got irate and used inline style it works
  • summoner49summoner49 Member NAT Warrior
    Great, so my help is once again found useless :P
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    But your help was correct.. :)
  • kinkkink serious member VPS - Virtual Prince of the Server
    ah your help is not useless i tried that using a div to no avail i think i got the syntx wrong
  • YoneYone Beginner Link Clerk
    Hi i'm new here :D
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    Welcome. Please go to the Introductions forum and start a new thread there!
Sign In or Register to comment.