Fritz Thomas

Posts Tagged ‘howto

18 Feb, 2009

How to vertically align text and block elements

Posted by: admin In: Overall

You may know the CSS declarations text-align and vertical-align. Perhaps you tried alredy to vertically align inline span elements within a div block element but did not succeed yet. I will try explain how to achieve this with a simple button example. Before: After:

Take a look at my updated post Have you ever needed the absolute path of the shell script within this script? I do not mean the current working dir (pwd). That is different, because you do not know from which path the bash script is called. In my case i needed the absolute path, because [...]




Latest Tweets