absolute positioning in html mails miscalculated in larry #4007

rcubetrac opened this Issue Nov 17, 2012 · 7 comments

2 participants


Reported by JohnDoh on 17 Nov 2012 17:18 UTC as Trac ticket #1488819

if an html mail is received which contains elements placed using absolute positioning then the mail is displayed wrong because the position is calculated relative to the top of the preview frame rather than the #messagebody div. For example if a header in an html email has an absolute position of 0 0 it will be rendered over the message headers div rather than directly below it. Adding position: relative; to #messagebody on line #978 in mail.css solves this.

Migrated-From: http://trac.roundcube.net/ticket/1488819


Comment by @alecpl on 18 Nov 2012 13:05 UTC

Proposed modification doesn't work on message print page.


Owner changed by @alecpl on 18 Nov 2012 13:05 UTC

=> thomasb


Milestone changed by @alecpl on 18 Nov 2012 13:05 UTC

later => 0.9-beta


Comment by @alecpl on 18 Nov 2012 13:09 UTC

What's more the red header overlaps message text. I can add also that the issue in print page is reproduceable also in classic skin.


Comment by JohnDoh on 24 Nov 2012 13:03 UTC

attached a simple patch to fix it in all 3 places. The red header overlapping the text is a mistake in the example message not Roundcube.


Comment by @alecpl on 25 Nov 2012 10:15 UTC

Thank you. Fixed in 14d00da


Status changed by @alecpl on 25 Nov 2012 10:15 UTC

new => closed

@rcubetrac rcubetrac closed this Nov 25, 2012
@rcubetrac rcubetrac added this to the 0.9-beta milestone Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment