Bug 109625

Summary: absolute coordinates in CSS messes up HTML render in viewer
Product: [Applications] kmail Reporter: jeff pitman <symbiont>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.8.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Absolute CSS causes overwrite on viewer.

Description jeff pitman 2005-07-26 08:40:22 UTC
Version:           1.8.1 (using KDE 3.4.1-1.3.fc4.kde, Fedora)
Compiler:          Target: i386-redhat-linux
OS:                Linux (i686) release 2.6.12-1.1398_FC4

Got this spam that I deleted. I couldn't help notice that the CSS included an absolute directive that caused the render in Kmail to goof up because of the email headers and the security warning about external images.  Give it a try.  If you need full headers, let me know.

Email is the following (sorry to our .eu friends):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>que suerte: plazas libres - con descuento</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>

<STYLE type=text/css>
<!--
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9pt;
}
-->
</STYLE>
<LINK href="P14.css" type=text/css rel=stylesheet>
<STYLE type=text/css>
<!--
body {
	background-color: #C4E1FF;
}
-->
</STYLE>
<LINK href="P18.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV id=Layer2 
style="Z-INDEX: 2; LEFT: 0px; WIDTH: 717px; POSITION: absolute; TOP: -5px; HEIGHT: 172px">
<TABLE cellSpacing=16 width="100%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width="57%">
      <P class=P18><STRONG><FONT size=5><FONT color=#0066ff>Urlaub</FONT><BR>da 
      hat jemand Gl
Comment 1 jeff pitman 2005-07-26 08:50:54 UTC
Created attachment 11933 [details]
Absolute CSS causes overwrite on viewer.
Comment 2 Rex Dieter 2006-09-27 16:52:33 UTC

*** This bug has been marked as a duplicate of 96557 ***