Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   HTML vertical gap (http://www.linux-archive.org/debian-user/643839-html-vertical-gap.html)

Scott Ferguson 03-12-2012 09:42 PM

HTML vertical gap
 
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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F5E7BBD.5060503@gmail.com">http://lists.debian.org/4F5E7BBD.5060503@gmail.com

Scott Ferguson 03-12-2012 09:47 PM

HTML vertical gap
 
On 13/03/12 08:10, teddieeb@tmo.blackberry.net wrote:
>
> Sian Mountbatten said:
>
> 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? Or what?
>
> ----
>
> Not sure I follow the question, if your using something like the <ul>
> tag. Try putting each group in it's own list and put each list in a
> table cell.

<snipped>

That's a rather complicated, and *deprecated*, way of doing what can be
applied with a style element, or by just inserting a line break. :-)



Kind regards


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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F5E7CED.802@gmail.com">http://lists.debian.org/4F5E7CED.802@gmail.com

03-12-2012 10:39 PM

HTML vertical gap
 
Scott Ferguson Said:

That's a rather complicated, and *deprecated*, way of doing what can be
applied with a style element, or by just inserting a line break. :-)


----

HTML 5 and CSS do not *depreciate* tables. It simply is a cleaner way to structure a page vs. The *everything* needs to be written in CSS approach that a lot of developers use today.

HTML tables are in no way being depreciated or written off. Not everything should be in a DIV tag.

And sorry for the personal reply Scott, forgot to re point the reply to.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1138724976-1331595569-cardhu_decombobulator_blackberry.rim.net-1995911096-@b16.c1.bise6.blackberry">http://lists.debian.org/1138724976-1331595569-cardhu_decombobulator_blackberry.rim.net-1995911096-@b16.c1.bise6.blackberry

Scott Ferguson 03-13-2012 12:57 AM

HTML vertical gap
 
On 13/03/12 09:47, Scott Ferguson wrote:
> On 13/03/12 08:10, teddieeb@tmo.blackberry.net wrote:
>>
>> Sian Mountbatten said:
>>
<snipped>
>
> <snipped>
>
> That's a rather complicated, and *deprecated*, way of doing what can be
> applied with a style element, or by just inserting a line break. :-)

*Correction*. My apologies.


That's a rather complicated, and *discouraged*, way of doing what can be
applied with a style element, or by just inserting a line break. :-)

>
>
>
> Kind regards
>
>


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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F5EA998.9060906@gmail.com">http://lists.debian.org/4F5EA998.9060906@gmail.com

Tony Baldwin 03-13-2012 01:17 AM

HTML vertical gap
 
On Tue, Mar 13, 2012 at 09:47:09AM +1100, Scott Ferguson wrote:
> On 13/03/12 08:10, teddieeb@tmo.blackberry.net wrote:
> >
> > Sian Mountbatten said:
> >
> > 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? Or what?
> >
> > ----
> >
> > Not sure I follow the question, if your using something like the <ul>
> > tag. Try putting each group in it's own list and put each list in a
> > table cell.
>
> <snipped>
>
> That's a rather complicated, and *deprecated*, way of doing what can be
> applied with a style element, or by just inserting a line break. :-)

seriously.

<li>
<ul>something<br /></ul>
</li>

or, my preferred method, in the .css file
li { padding-bottom: 10px;}
or something. (I think this last was mentioned)

./tony

--
http://www.tonybaldwin.me
all tony, all the time!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120313021710.GA6671@deathstar.hsd1.ct.comcast.ne t">http://lists.debian.org/20120313021710.GA6671@deathstar.hsd1.ct.comcast.ne t

Shawn Wilson 03-13-2012 09:57 AM

HTML vertical gap
 
Just to augment this with a possible query: css or cascading style sheet

If you're just interested in documentation however: pod, ps, and Tex come to mind.

Scott Ferguson <scott.ferguson.debian.user@gmail.com> wrote:

>On 13/03/12 09:47, Scott Ferguson wrote:
>> On 13/03/12 08:10, teddieeb@tmo.blackberry.net wrote:
>>>
>>> Sian Mountbatten said:
>>>
><snipped>
>>
>> <snipped>
>>
>> That's a rather complicated, and *deprecated*, way of doing what can
>be
>> applied with a style element, or by just inserting a line break. :-)
>
>*Correction*. My apologies.
>
>
>That's a rather complicated, and *discouraged*, way of doing what can
>be
>applied with a style element, or by just inserting a line break. :-)
>
>>
>>
>>
>> Kind regards
>>
>>
>
>
>--
>"Oh sorry, I was taking life seriously."
>— Bill Hicks
>
>
>--
>To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact
>listmaster@lists.debian.org
>Archive: http://lists.debian.org/4F5EA998.9060906@gmail.com

Shawn Wilson
(703) 517-1201


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 59eb5df6-3145-4bfa-8125-1d9b4f895213@email.android.com">http://lists.debian.org/59eb5df6-3145-4bfa-8125-1d9b4f895213@email.android.com

Shawn Wilson 03-13-2012 09:57 AM

HTML vertical gap
 
Just to augment this with a possible query: css or cascading style sheet

If you're just interested in documentation however: pod, ps, and Tex come to mind.

Scott Ferguson <scott.ferguson.debian.user@gmail.com> wrote:

>On 13/03/12 09:47, Scott Ferguson wrote:
>> On 13/03/12 08:10, teddieeb@tmo.blackberry.net wrote:
>>>
>>> Sian Mountbatten said:
>>>
><snipped>
>>
>> <snipped>
>>
>> That's a rather complicated, and *deprecated*, way of doing what can
>be
>> applied with a style element, or by just inserting a line break. :-)
>
>*Correction*. My apologies.
>
>
>That's a rather complicated, and *discouraged*, way of doing what can
>be
>applied with a style element, or by just inserting a line break. :-)
>
>>
>>
>>
>> Kind regards
>>
>>
>
>
>--
>"Oh sorry, I was taking life seriously."
>— Bill Hicks
>
>
>--
>To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact
>listmaster@lists.debian.org
>Archive: http://lists.debian.org/4F5EA998.9060906@gmail.com

Shawn Wilson
(703) 517-1201


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 09e03428-d593-4d65-913c-2b057e1024ee@email.android.com">http://lists.debian.org/09e03428-d593-4d65-913c-2b057e1024ee@email.android.com

Camalen 03-13-2012 12:12 PM

HTML vertical gap
 
On Mon, 12 Mar 2012 19:58:05 +0000, 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?
> Or what?

You can Google around:

https://www.google.com/webhp?complete=0&hl=en#hl=en&complete=0&site=webhp &q=html+numbered+list+vertical+space&bav=on.2,or.r _gc.r_pw.,cf.osb&fp=f01a15c9d98140fc&biw=1280&bih= 888

And remember you can use more than one list or even don't use lists at all :-)

Greetings,

--
Camalen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jjnh4p$nbm$6@dough.gmane.org">http://lists.debian.org/jjnh4p$nbm$6@dough.gmane.org


All times are GMT. The time now is 05:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.