Can you get a whole list inside a definition list item ?
the html code I get is:
<blockquote>
<dl>
<dt>He adds up :</dt>
<dd><ul>
<li>The cost of raw materials to be processed;</li>
</ul>
</dd>
<dd><ul>
<li>The wages;</li>
</ul>
</dd>
<dd><ul>
<li>The consumption of the machines, their wear and tear and the interest on the money they cost him:</li>
</ul>
</dd>
<dd><ul>
<li>The selling expenses: transport. brokerage. discounts:</li>
</ul>
</dd>
<dd><ul>
<li>The general expenses: administration, rents, taxes. insurance etc.</li>
</ul>
</dd>
</dl>
</blockquote>
while the markdown code is
> He adds up :
>: - The cost of raw materials to be processed;
>: - The wages;
>: - The consumption of the machines, their wear and tear and the interest on the money they cost him:
>: - The selling expenses: transport. brokerage. discounts:
>: - The general expenses: administration, rents, taxes. insurance etc.
You only need one : for every definition list item and the list markers - for the sublist need to be indented. Maybe you would like to write:
> He adds up:
>: - The cost of raw materials to be processed;
> - The wages;
> - The consumption of the machines, their wear and tear and the interest on the money they cost him:
> - The selling expenses: transport. brokerage. discounts:
> - The general expenses: administration, rents, taxes. insurance etc.
<dl>
<dt>He adds up :</dt>
<dd><ul>
<li>The cost of raw materials to be processed;</li>
</ul>
</dd>
</dl>
<ul>
<li>The wages;</li>
<li>The consumption of the machines, their wear and tear and the interest on the money they cost him:</li>
<li>The selling expenses: transport. brokerage. discounts:</li>
<li>The general expenses: administration, rents, taxes. insurance etc.</li>
</ul>
the items are not counted as part of the definition list without a starting :. Hence, there’s more space between the first element and the remaining ones.
I’m not sure what you are trying to achieve. Do you want to three definition details under the first definition marker and an unordered sublist in the third? Then, you don’t need the - list markers for the first three.
Yes, it’s possible. I took the liberty to use your problem as an interesting edge case for my theme. Your last post refers to version 1 of the blog entry
AHAHAHAH if you and your readers had any idea where that comes from !
And you actually pulled it off !! Many thanks. Ah, relying on indentation is SO stupid a design !
Happy ? Feel free to continue then
I’m just having almost the exact opposite need: how do I get a definition list be an item of another (normal) list ?
Something close to :