Align text to the bottom of a div
问题 I tried to align my text to the bottom of a div from other posts and answers in stackoverflow I learned to handle this with different css properties. But I can't get it done. Basically my html code is like this: <div style='height:200px; float:left; border:1px solid #ff0000; position:relative;'> <span style='position:absolute; bottom:0px;'>A Text</span> </div> The effect is that in FF I just get vertical line (the div in a collapsed way) and the text is written next to it. How can I prevent