I'm trying to find out what I am doing wrong. I have the following HTML:
<div id="dialog-container">
<div id="dialog-box" title="" >
<div id="dialog-icon" >
</div>
<p>
<span id="dialog-message"></span>
</p>
</div>
</div>
I have some CSS which floats to the left. If I enter the following it works
#dialog-box #dialog-icon
{
float: left;
height: 32px;
width: 32px;
}
but if I enter 1 more rule i.e insert #dialog-container before the #dialog-box then it's not applied like this:
#dialog-container #dialog-box #dialog-icon
{
float: left;
height: 32px;
width: 32px;
}
but I thought this means apply to dialog-icon that's inside a dialog-box and that is inside a dialog-container?
Am I missing something?