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/643766-html-vertical-gap.html)

Sian Mountbatten 03-12-2012 06:58 PM

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

--
Sian Mountbatten
Algol 68 specialist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: jjlkga$t9n$1@speranza.aioe.org">http://lists.debian.org/jjlkga$t9n$1@speranza.aioe.org

03-12-2012 08:10 PM

HTML vertical gap
 
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. Doing it this way means you can use the table tags for spacing. You can define table/cell height, cellpadding, cellspacing

HTML tables give you a lot of control over the display of your content. If your not familiar with HTML Tables you will want to look into align and valign too!


Example:

<Table>
<Tr>
<Td>

<ul>
<li> Item One </li>
<li> Item Two </li>
<li> Item Three </li>
</ul>

</Td>
<Td>

<ul>
<li> Item Four </li>
<li> Item Five </li>
<li> Item Six </li>
</ul>

</Td>
</Tr>
</Table>


All times are GMT. The time now is 02:40 PM.

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