Jump to content
Sign in to follow this  
rweiss

base css style ignored

Recommended Posts

rweiss

I am styling boxes on my home page, and set some borders around the boxes. In order for the boxes to work, I needed narrower margins so that the 4 boxes would fit. But Firebug tells me that the there is a style that is overriding my base style. I even deleted the dynamic.css style for .dcol4 to try and get it to set - and it refuses. The one that overrides is from the system itself (Firebug identifies the domain as the source of this overriding style). I know that changing the margin allows the boxes to fit (using firebug) but I can't get the system to accept my changes. I checked the make inline styles box to see if it is a caching issue and it made no difference. On a side note - I would really like to style each box with a different background color, but I can't seem to get any kind of ID from Firebug that would make this possible. Rick

Share this post


Link to post
Share on other sites
kastelic

To override the dynamic styles you can always use !important, like: .class {width: 50px !important} As for unique id's for the boxes. look at the outermost wrapper of each individual box in the set, it has a unique id like "fbox_19"

Share this post


Link to post
Share on other sites
rweiss

Thanks - the !important worked only after I deleted the dynamic.css lines about margin width. I thought about the fbox_# but the numbers were so high I thought they were likely to be dynamic and would therefore be impossible to create a style for. I'll give that a try.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×