I'm using multiple class with Crystalline and it rocks with Google Chrome or Firefox, but with IE8 my extra class don't works
I've been looking over the web to check if there was some best practice but it looks like I 'm doing fine.
The screen shots below are showing the bottom menu of the website I'm working on.
in chrome everything looks fine :
This image is hidden for guests.
Please log in or register to see it.
in IE8.... :
This image is hidden for guests.
Please log in or register to see it.
this is the class suffix for the bottom menu :
This image is hidden for guests.
Please log in or register to see it.
.ms-bottom uses some general style for the menu
.wood is used to show the picture behind the menu title
.towel is used to show the towel behind the Menu list
the css :div.ms-bottom.wood .module-content {background:url(../images/module-styles/items/plaque-bois.png)0 -6px no-repeat;}
div.ms-bottom.towel .module-bm {background:url(../images/module-styles/items/towel-bottom.png)2px 0px no-repeat;height:135px;margin: 0 0px;}
div.ms-bottom.towel .module-inner {background:url(../images/module-styles/items/towel-top.png)50% 10px no-repeat;}
the index.php rendered in the browser :<div class="ms-bottom wood towel">
I'm using multiple class so I can easely prepare different colors for the towels and just change the suffix to towel-pink for exemple for them to show in pink color. Same for the wood suffix,if I want to be able to use a glass or metal suffix...
I know I could use a work arround like using a single suffix like :
ms-bottom-wood-towel
and if I want to change the colors and the matter :
ms-bottom-metal-towel-pink
but it would clearly makes the css style sheet heavier and less readable !
IE8 is supposed to support multiple class, I think I'm doing something wrong, could you light me up please