[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HTML vertical gap [OT]



On 13/03/12 06:58, Sian Mountbatten wrote:
> I have a description list which has a number of items which document
> values in a program. I want to group the items such that the groups are
> separated by a bit of vertical space. How do I do that? That is, I want
> a bit of vertical space in a definition list. Do I create an empty item?

An empty item, unless you turn off list decorations, will just produce
any empty item marked by a bullet, number, or letter (depending upon the
style used, or list type chosed).

> Or what?
> -- 
> Sian Mountbatten
> Algol 68 specialist
> 
> 
Shortest method:-

<ol>
<li>item</li>
<li>item</li>
<br /><!-- single line of vertical space -->
<li>item</li>
</ol>

Better method(best is to use external style sheet)

<ol>
<li>item</li>
<li style="padding-bottom:20px;">item</li><!--any amount of vertical
space using class or id, or inline css -->
<li>item</li>
</ol>

Posting questions not related to Debian, or about OS that are based on
Debian but are not Debian, is a self perpetuating problem that devalues
the list.

This question could have been easily answered by simply reading the
documentation on basic HTML at any one of millions of sources.


Kind regards


-- 
"Oh sorry, I was taking life seriously."
— Bill Hicks


Reply to: