2 replies [Last post]
webguy
Offline
Regular
Ochten, Netherlands
Last seen: 12 years 5 weeks ago
Ochten, Netherlands
Joined: 2005-04-11
Posts: 13
Points: 0

Hi all,

I'm trying to style a div or an ul to push the list down in a div.
Here is my example page: http://www.one-company.net/css/listdown.html
Check the page source to see the code.

Now, what I'm trying to create, should look like this:

A tried applying the style vertical-align:bottom to both the div and the ul but that didn't help.

Can this be done? And if so, how?
Thanks in advance,
Rene

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

#listholder{ position:

#listholder{
position: relative;
float:right;
width:150px;
height:150px;
background:#eee;
color:#000;
vertical-align:bottom;
}
#listholder ul{
list-style:none;
margin: 0;
padding: 0;
position: absolute;
bottom: 0;
}

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

webguy
Offline
Regular
Ochten, Netherlands
Last seen: 12 years 5 weeks ago
Ochten, Netherlands
Joined: 2005-04-11
Posts: 13
Points: 0

Excellent! Many thanks for

Excellent! Many thanks for your help!!!