Re: [css2xslfo-support] Link around image not possible?
Brought to you by:
wdonne
From: Erik T. <er...@so...> - 2009-09-17 13:02:51
|
Hi Werner, Thank you for your explanation, I can probably fake full image link coverage by fooling around with large font sizes. Kind regards, Erik. Werner Donn wrote: > Hi Erik, > > Just now I tested it with both FOP and XEP4 and the results are the same. > There is a link around the image, but only the bottom part of it is > sensitive. Hover the image and you will see only the area equal to the > line height at the bottom is sensitive. > > I think this stems from the fact that the "img" element is an inline > element. > The display type of "img" is "graphic", which is treated as inline. > This is > consistent with the XSL-FO element "external-graphic" being an inline > element. > > The area of the image that is in the line is covered by the link. Put > some text > before are after it to see it. I'm afraid this is a difference in > behaviour > between CSS and XSL-FO. In fact CSS2 doesn't specify anything about > images. > > Best regards, > > Werner. > > On 17 Sep 2009, at 11:58, Erik Terpstra wrote: > >> Hi, >> >> It looks like it is not possible to put a link around an image? >> Like: <a href="..."><img src="..."/></a> >> Is there some way to get this to work? Or am I doing something wrong? >> I am using Apache FOP as the back-end. >> >> TIA, >> >> Erik. >> >> ------------------------------------------------------------------------------ >> >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- > http://www.pincette.biz/ > Handling your documents with care, wherever you are. > |