Previous Message
Next Message

[css-d] alignment in a box

Sent by florian on 26 February 2003 19:07


hi!

im having a problem which i somehow can not find a elegant
solution for.

i would like to have:

a red box with a certain height, the width should always expand
to the left until the end of the window.

in that box i want to have the word 'foo' aligned to the
left of the box, with a padding of 5 px and the word 'bar'
aligned to the right of the box also with a padding of 5px.
both words should be verticaly aligned to the bottom of
the box with a padding of 8 pixel.

anybody can think of a elegant way to do that, and not a
hack (because thats what i've got already ; )


thanks alot!

ciao!
florian
Previous Message
Next Message

Message thread: