[themes] css question - anchoring div to bottom of container div

Bruno De Bondt bruno at indymedia.be
Wed Jul 26 07:41:06 UTC 2006


Hi Jason,

There's a good article on footers on ALA:
http://alistapart.com/articles/footers.
I've used it on several sites, and it works well. But it does make use
of absolute positioning.

hope this helps,
-- bruno

Jason White wrote:
> Hi all,
>
>
> Jason White here. I've been lurking on the digest for a while. I'm
> ready to ask and contribute now ... I think.  Well, at least ask ;)
>
> I'm customizing a theme and need to anchor one div's bottom to the
> bottom of its container div for the purpose of tabs.  Does anyone have
> a good css trick for that or any tips? I'd like to avoid absolute
> positioning if possible.  The theme uses phpTemplate (Drupal 4.7).
>
> Below is a crude ascii representation of what I am after.
>
> -------------------------------------------
> |                                                       |
> | parent div                                    |
> |                                                       |
> | ---------------------------------------- |
> |                                 'child' div      |
> -------------------------------------------
>
> TIA,
>
> Jason
> ------------------------------------------------------------------------
>
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>   

-- 
"Open information is mind power."

www.indymedia.be _ www.getbasic.be _ www.fluxx.be

PGP public key: http://keys.indymedia.org _ id: D48B28E2



More information about the themes mailing list