margin-top of a block in a table-cell

2002-06-10 Thread Juergen Lippold

Hello,

I have got a table with labels. For the labels I want to put in a text with a margin 
to the top and to the left.
The margin-left value is working all right but the margin-top doesn't do anything. Is 
this a real bug or is it my fault?
With the padding-top attribute I can reach that there is a margin to the top. Whats 
the difference between the padding and the margin attribute? Whats the definition when 
to use what attribute?

Thanks 

Juergen Lippold


..
 fo:table-row height=4.0cm
fo:table-cell padding-top=0.8cm
   fo:block hyphenate=true language=de margin-left=0.8cm 
margin-right=0.8cm
   fo:block
  Anton Donaudampfschifffahrtskapitaensadjutantenmuetzentraeger 
  /fo:block
  fo:block
 Carnebe-Street 2423
  /fo:block
   /fo:block
   /fo:table-cell
..


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: margin-top of a block in a table-cell

2002-06-10 Thread J.Pietschmann

Juergen Lippold wrote:
 I have got a table with labels. For the labels I want to put in a text
  with a margin to the top and to the left.
 The margin-left value is working all right but the margin-top doesn't
  do anything. Is this a real bug or is it my fault?

Use space-before.

 With the padding-top attribute I can reach that there is a margin to
  the top. Whats the difference between the padding and the margin
  attribute?
Padding doesn't work. Margins work...marginally.

  Whats the definition when to use what attribute?

Trial and error, I'd say. Read the source. FOP has still a lot
of deficiencies.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]