Just wondering why this works

<div id="right" class="box2" style="margin-bottom:10px; padding-top:
5px; padding-bottom: 5px;">
       mytest10
</div>

But as css it does not i.e.:

.schedulebanner {
    margin-bottom:10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

<div id="right" class="box2 schedulebanner">
       mytest10
</div>

OR

<div id="right" class="schedulebanner box2">
       mytest10
</div>

Thanks

-- 
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to