...

View Full Version : CSS - Move text up



nyckidd
09-01-2011, 07:46 PM
Hey guys i have some text that fits in 1 line BUT sometimes it becomes 2 lines and of course the div expands down but i want it to expand upwards....how do i hack that via css ?

VIPStephan
09-01-2011, 07:56 PM
Position that div absolutely with bottom as reference position inside another relative positioned element.

nyckidd
09-01-2011, 08:06 PM
i got it like so....


font-size: 15px;
font-weight: bold;
margin-left: 15px;
position: absolute;
bottom: auto;

but it aint working

flyingfisch
09-01-2011, 08:14 PM
Shouldn't it be:


font-size: 15px;
font-weight: bold;
margin-left: 15px;
position: absolute;
bottom: 0px;



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum