W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2011

display-align center issue with basic-link

From: brock.rogers <brock.rogers@sharperlending.com>
Date: Tue, 18 Jan 2011 15:43:27 -0800 (PST)
Message-ID: <30705462.post@talk.nabble.com>
To: www-xsl-fo@w3.org
Hello all,
    This is probably an issue with the render engine we are using, but I
wanted to see if anyone has seen this or has any ideas of a workaround.  I
have a table with roughly 10 columns, and 3 rows.  The left most column
spans all three rows and there is a link in that column.  The height of the
rows is not known ahead of time as some of the columns will have multiple
items extending the height of the rows.  My problem is in the left most
column I use (display-align="center") to vertically align the text which
works fine, but the clickable area is actually at the top of the column, so
the target is separate from the text.  It looks like the following:

-----------------------------------------------------------
[clickable area here]     |                                                |
                                |   stuff here                               
|
                                |-----------------------------------
                                |                                               
|
      link text is here      |  stuff here                                 |
                                |-----------------------------------
                                |                                               
|
                                |stuff here                                  
|
                                |                                               
|
-----------------------------------------------------------

Has anybody seen this behavior or have any ideas on alignment or anything to
try and get it all together?  The code snippet is below:

<fo:table-cell display-align="center">
      <fo:block>
           <fo:basic-link
external-destination="http://www.espn.com">ESPN</fo:basic-link>
      </fo:block>
<fo:table-cell>

Thanks ahead of time.
-- 
View this message in context: http://old.nabble.com/display-align-center-issue-with-basic-link-tp30705462p30705462.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Wednesday, 19 January 2011 08:08:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 January 2011 08:08:14 GMT