spicymango
Programmer
Hi,
I need help understanding this basic CSS code.
In the above I believe .var_planning.two-column and .right-column.fullwidth are classes and should be used like
<p class="var_planning.two-column"> or <p class="right-column.fullwidth"> in the HTML
this one more confusing
My understanding is here
.var_planning is a class
.ul.ul-list is a class, correct?
and if I declare <p class=ul.ul-list>
<li>one</li>
<li>two</li>
</p>
OR
<p class=var_planning >
<li>one</li>
<li>two</li>
</p>
then all the styles will apply to li, right?
I need help understanding this basic CSS code.
Code:
.var_planning.two-column .right-column {
float:left;
margin-left:20px;
margin-top:0;
width:513px;
}
.var_planning.two-column .right-column.fullwidth {
width:750px;
}
In the above I believe .var_planning.two-column and .right-column.fullwidth are classes and should be used like
<p class="var_planning.two-column"> or <p class="right-column.fullwidth"> in the HTML
this one more confusing
Code:
.var_planning ul.ul-list {
margin:10px 0 10px 0;
}
.var_planning ul.ul-list li {
list-style:disc outside none;
margin:0 0 8px 14px;
}
My understanding is here
.var_planning is a class
.ul.ul-list is a class, correct?
and if I declare <p class=ul.ul-list>
<li>one</li>
<li>two</li>
</p>
OR
<p class=var_planning >
<li>one</li>
<li>two</li>
</p>
then all the styles will apply to li, right?