[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: xhtml images not aligned
On Mon, Dec 16, 2002 at 07:06:44PM +0000, ~ion~ wrote: > In graphics.xsl in the XHTML subdirectory of the XSL stylesheets > version 1.58.1 it says: > > "Finally, align and valign are troublesome. Horizontal alignment is now > supported by wrapping the image in a <div align="{@align}"> (in block > contexts!). I can't think of anything (practical) to do about vertical > alignment." > > However, when one generates XHTML using the XHTML stylesheets the > following is generated: > > <div class="mediaobject"><img src="images/good2.png" align="center" > alt="Google, as viewed from the lynx web browser ;)" /></div> > > Am I missing something here? I don't think you are missing anything. I checked the stylesheet, and it does not add align to the <div> wrapper, so it looks like either Norm didn't check in the changes, or he didn't complete the work. I've been doing other work on the align stuff, so I'll put it in there. What I don't understand is why align in the img tag itself doesn't work in HTML. When I tested it, I got align="right" to work, but not align="center" when the attribute was on the img tag. On the div tag, it always works. Strange. -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC