W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Dealing with 'pretty printing'

From: Larry W. Virden <lvirden@cas.org>
Date: Mon, 20 Nov 2000 13:12:08 -0500 (EST)
Message-Id: <0011201312.AA11715@cas.org>
To: html-tidy@w3.org
Assume that one has the line:

        <p align="left"> <img src="images/building.jpg" width="350" height="129"><img src="images/index.casintranet.gif" width="247" height="37"><br>

What I would like to end up with is:
        <p align="left"> 
	<img src="images/building.jpg"
	     width="350" height="129">
	<img src="images/index.casintranet.gif"
		width="247" height="37">

or something close.  So I set the tidy config setting for putting attributes
on a separate line.  What I end up with is:

What do I need to do to get <IMG onto a line by itself?
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:lvirden@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
Received on Monday, 20 November 2000 13:12:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC