On Dec 10, 2010, at 2:17 PM, Jukka K. Korpela wrote:

Jukka K. Korpela wrote:

But the obvious approach is to use a single-cell table with
valign=bottom. You won't need any CSS for that, though CSS helps you
to remove the default margins for heading elements, for example (it
is natural to use heading elements for the head/subhead stuff).

If you wish to choose the more complicated and less reliable CSS way,
then you could define a container <div> element, set position:
relative and some height (say height: 6em) for it, depending on what
you intend to put there, and two inner <div> elements, positioned
"absolutely" with bottom: 0 and e.g. left: 0 and left: 50%
respectively.

An illustration of the two approaches (with parameters somewhat differing from the above):
http://www.cs.tut.fi/~jkorpela/test/align.html


thank you for that, Jukka; I'm curious why the CSS way is less reliable? Having to do with how MS Explorer behaves?


thanks!

J
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to