W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2003

CSS to remove break before start of a list

From: Joe Gallagher <jgallagher@outsidesource.com>
Date: Wed, 25 Jun 2003 16:22:23 -0500
To: <www-talk@w3.org>
Message-ID: <005401c33b5f$de975f20$1e00a8c0@jgallagher>
Has anyone used.
.within the list tags (<ul>,<ol>) to eliminate the line break added
between a paragraph/headline and the start of a list?
I have two examples shown below.  They both work on Win XP running IE 6,
but they do not work on IE for the Mac, or Safari.  All that happens is
that it just ignores the code.  Is there a better way to eliminate that
extra line (without faking it using tables and images)
If you would like to see a sample page:

Headline Text To Go Here
<ul  type=disc>
Headline Text To Go Here
<ul style='margin-top:0in' type=disc> <!--this line seems to remove the
Joe Gallagher
Web Developer
Outside Source Design Studio
7202 East 71st Street
Indianapolis, IN 46256
P: 317.842.4853
F: 317.813.0951
e-mail: jgallagher@outsidesource.com
web: http://www.outsidesource.com
Received on Wednesday, 25 June 2003 17:27:52 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:27 UTC