Friends,
This is a continuation of the page looks fine but printing is screwed up
thread...
In response to the suggestion from Peter Williams I removed the xml line
from the top of the file. I appreciate the suggestion and the education,
but it has made no difference in the outcome. The
From: Pringle, Ron
...I don't see the logic or reason behind the use of a
definition list for numbered paragraphs. As you have it now,
the dt has little meaning or relation to the dd.
SNIP
Better yet, designate each number as a header (h2, h3,
whatever) and
follow it with the
From: T. R. Valentine
A hanging-indent can be achieved by using the text-indent property and
assigning it a negative value. What would be tricky in the above would
be aligning the beginning of the text following the number with the
left edge of the other lines.
Back on css topic :-)
How
Friends,
I maintain a site that has a substantial number of documents which have
numbered paragraphs. I am moving the site from a table oriented to a
simpler structure using DL/DT/DD, and it appears to display well in the
browsers that I have access to (IE 6.0.2 Win XP and FF 1.0.4, same
Try again with the HTML (spaces added to prevent display in web aware email)...
At 06:49 PM 6/26/2005, [EMAIL PROTECTED] wrote:
The HTML (greatly simplified) would be:
?xml version=1.0?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
DTD/xhtml1-transitional.dtd
html
Peter Williams wrote:
From: [EMAIL PROTECTED]
?xml version=1.0?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml;
Remove the xml prolog and see if the behaviour is better,
as far as I'm aware it is unusable
From: Kelly Miller
I don't think it's the prolog in this case...I was unaware that you
could use a float in a print page...
Kelly,
I setup a quick text page and my markup was:
dl
dt1./dt
ddThis is the first numbered paragraph, done by using a dl with numbers at
the dt
and the para
I've done a second test, using media=print and changing the typeface
and hiding another element on my test page, the float still works and
the numbers are still left of the dd text in IE6 and FF1.04, in print
preview and when printed. Same markup as before and same css float
directive as before,