1 reply [Last post]
pospiech
Offline
Regular
Last seen: 6 years 43 weeks ago
Joined: 2004-02-16
Posts: 23
Points: 0

I have a search box (input) which i want to align at the bottom right of a div.

I did the align right with text-align. But how do align at the bottom of the surrounding div ?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 weeks 5 days ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Make the containing div

Make the containing div position: relative and then make the search form position: absolute; bottom: 0; right: 0 (don't need to use text-align).

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference