Welcome visitor
* Login
* Register
It is currently July 20th, 2019, 5:10 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 5 posts ] 
Author Message
  CSS problem
PostPosted: May 16th, 2009, 9:29 pm 

Posts: 31
hi, id been doing a lot of copy paste from many different projects and each one has different css inline styles, what can i do to have a general CSS for all the new project? i mean, something different than going element by element, thanks.


Top
 Profile  
 
  Re: CSS problem
PostPosted: May 16th, 2009, 9:36 pm 
User avatar

Posts: 40
put this between de head tags
<style type="text/css">
*{//all your styles goes here}
</style>


Top
 Profile  
 
  Re: CSS problem
PostPosted: May 16th, 2009, 10:01 pm 

Posts: 31
thanks but's not working :(


Top
 Profile  
 
  Re: CSS problem
PostPosted: May 16th, 2009, 10:43 pm 
User avatar

Posts: 40
sorry, need to add ! important after each attribute, e.g.
border: 1px ! important;


Top
 Profile  
 
  Re: CSS problem
PostPosted: May 16th, 2009, 10:56 pm 

Posts: 31
now its perfect :D, thank you so much


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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