Prince XML
Product  Download  Purchase  Samples  Documentation  Forum  Company
It is currently Thu Sep 09, 2010 12:20 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Image vertical alignment within table, solved
PostPosted: Sun Apr 27, 2008 4:24 pm 
Offline

Joined: Tue Apr 01, 2008 9:56 am
Posts: 12
Location: Amsterdam Netherlands
http://www.advocatenautomatisering.nl/bar.html
http://www.advocatenautomatisering.nl/bar.pdf

Consider this:

Code:
<html>
<body>
<table>
<tr>
<td align='center'><small>88</small></td>
<td align='center'><small>12</small></td>
</tr>
<tr>
<td align='center' valign='bottom'><img src='bg100.jpg' width='150' height='88'></td>
<td align='center' valign='bottom'><img src='bg100.jpg' width='150' height='12'></td>
</tr>
<tr>
<td align='center'><small>SN</small></td>
<td align='center'><small>PB</small></td>
</tr>
</table></body></html>


This looks in a browser like a bar graph and is exactly what I want. However, in Prince the images valign on top. If I change it to middle they valign in the middle, just bottom doesn't seem to work.

What am I overlooking?

_________________
regards, Stephan Neumann


Last edited by Stephan Neumann on Thu May 01, 2008 10:24 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: it's a bug.......
PostPosted: Wed Apr 30, 2008 9:55 am 
Offline

Joined: Tue Apr 01, 2008 9:56 am
Posts: 12
Location: Amsterdam Netherlands
This problem is actually an error in xhtml.css, where it says

Code:
td[valign=bottom], th[valign=bottom] { vertical-align: top }


it should be

Code:
td[valign=bottom], th[valign=bottom] { vertical-align: bottom }

_________________
regards, Stephan Neumann


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 11:11 am 
Offline

Joined: Tue Jun 07, 2005 11:03 pm
Posts: 2632
Location: Melbourne
Oops! :oops:

Thanks for pointing that out, we'll fix it in the next maintenance release which is due in a couple of days.


Top
 Profile  
 
 Post subject: update xhtml.css
PostPosted: Wed Apr 30, 2008 1:31 pm 
Offline

Joined: Tue Apr 01, 2008 9:56 am
Posts: 12
Location: Amsterdam Netherlands
No worries, we are all here to make life easier/better.

But in view of my problem with the <th> tag I would strongly suggest that you abstain from modifying default behaviour in your css. Otherwise, I must check every update and redo the changes.

It is probably too late for the <th> tag, as other users might get upset if you change it. :twisted:

_________________
regards, Stephan Neumann


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group