[css2xslfo-support] [css2xslfo] margin-top, margin-bottom not acknowledged
Brought to you by:
wdonne
From: Andreas J. <li...@an...> - 2006-03-06 07:34:45
|
The following code should place "text goes here" inside a grey box which is seperated from the upper and lower <p> by 2em. However the margin of 2em is only visible for left and right bottom. The DIV itself is = directly placed under/over the <p> without additional vertical space. Is this a bug=20 or a feature? Andreas <?xml version=3D"1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"de" lang=3D"de"> <head> <style type=3D"text/css"> /* This is the main stylesheet for all export actions through XSL-FO. DON'T TOUCH THIS SCRIPT UNLESS YOU KNOW WHAT YOU ARE REALLY = DOING!!!! */ div.outline { margin: 2em 2em 2em 2em; background: #eeeeee; } </style> <title>Dokument HI1383992</title> </head> <body> <p>hello world</p> <div class=3D"outline"> text goes here </div> <p>hello world</p> </body> </html> |