Home › Forums › CSS › priority of external stylesheets › Re: priority of external stylesheets
There is no height property in the second class that you gave
If the height is different use a different class…don’t chain them unnecessarily. Although, **generally** the content should set the height.
If you are repeating styles then find a way of reducing that.
You need a hidden div centered div (although I wouldn’t) then give that a class of it’s own and apply it to both divs.
You will still apply two classes to the divs but the classes now do two separate things and your code is a lot neater and more compact.