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

Re: 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!


Reply to: