Your HostICan Community  


Go Back   Your HostICan Community > Programming & Design > HTML / Design

HTML / Design Are you a designer? Or just trying to become one? Great! You'll be able to talk about layouts, and HTML code to help your fellow designers, so everyone can work together to master the tricks of the trade. (Maybe even some JavaScript too!)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-22-2009, 12:32 PM
Sk8WolF's Avatar
Sk8WolF Sk8WolF is offline
Junior Member
 
Join Date: Jan 2009
Posts: 3
Default website CSS styles in my hosting

I have two style - style.css and style1.css .
Somewhere I read that by ! Important can be indicate the primary style for using, but I do not know how. Can anyone tell me if it is possible? By JavaScript could be done, but only with css I don't know?
Reply With Quote
  #2  
Old 07-22-2009, 01:03 PM
m11rr m11rr is offline
Member
 
Join Date: Mar 2009
Posts: 50
Default Re: website CSS styles in my hosting

!important can be used after attribute value, when you want to ignore any value and then take into assigning only this value:
Code:
.abc {
width: 200px;
background: #AAFF00; }
.abc {
width: 300px !important; }
.abc {
width: 100px; }
In example above, a block element id=abc will be 300px
Reply With Quote
Reply

Tags
css, hosting, styles, website

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:19 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.