Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you turn off Remove table formatting and Remove span + div formatting, it may happen that the text is no longer readable afterwards. It can even happen that paragraphs overlap or are pushed out to the side.
The cause of these problems is the use of absolute positions of paragraphs or tables. For example, a paragraph can be specified to have a certain distance from the left and top edges of its parent element. In a complete document this can work out fine but facts are often only parts of a report and they lack the formatting surrounding them. Then it can happen that paragraphs are displayed in the same position. They lack the parent elements in which they are normally embedded.


Code Block
languagexml
<!DOCTYPE html>
<html>
<body>
<p style="position: absolute; top: 125px; left: 125px; width: 300px; background-color: rgba(0,0,255,.2);font-size:20px;"
><b>This
>
	<b>This is the first paragraph.</b> 
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. </p>
<p style="position: absolute; top: 10px; left: 10px; width: 300px; background-color: rgba(255,0,0,.2);font-size:20px;"
><b>This
>
	<b>This is the second paragraph.</b>
	 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. </p>
</body>
</html>









See also: Removing HTML and Unicode