Welcome visitor
* Login
* Register
It is currently May 25th, 2019, 9:15 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  apply css to a form
PostPosted: May 28th, 2009, 1:58 am 

Posts: 19
hi, i just want to have my form colors inverted, black the background and white the letters. i figured that this would work but it doesnt

<style type="text/css">
    form{color: #fff; background-color: #000;}
</style>


anyone knows how to do it?
thanks.


Top
 Profile  
 
  Re: apply css to a form
PostPosted: May 28th, 2009, 2:08 am 
User avatar

Posts: 86
The form itself will not receive the css style, you need to specify each element
<style type="text/css">
    input, textarea{color: #fff; background-color: #000;}
</style>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron