how can I change top-margin the right way if multiple css class assigned?

Posted by Radek on Stack Overflow See other posts from Stack Overflow or by Radek
Published on 2010-05-14T10:46:50Z Indexed on 2010/05/14 10:54 UTC
Read the original article Hit count: 234

Filed under:
|

I assigned these classes menu second_menu menu_about_author to ul so the html code looks like <ul class="menu second_menu menu_about_author"> I wanted this ul to have the same properties like menu and second_menu and then I wanted to move the menu_about_author little bit down.

I did so by .menu_about_author { margin-top:40px; } but it didn't work

any idea why the margin-top:40px; is crossed? the link to the image is [1]: http://img153.imageshack.us/img153/882/58daeef0c3c846e4a8d6321.png

alt text

© Stack Overflow or respective owner

Related posts about css

Related posts about css-layout