Sunday, June 5, 2011

Success today!

Success today, unlike yesterday does not come from being more powerful than others, taking advantage of others or being better than others. In a global world like the one we are living in, we compete on a level ground. We all have equal access to knowledge resources, the most important of all resources.

So how does success come, only by empowering others are you going to rise. The more you give, the more useful and necessary you are, the more you are going to go high. Sharing freely your resourceful information and other knowledge resources is going to bring home your dreams. Empowering individual souls will make you a god(dess) of opportunities and that is what we call power in the 21st century.

Tuesday, April 5, 2011

Tuwakenya Arrives with a Bang!

Finally Kenyans have an open discussion space where they can share ideas,crack jokes as well discuss and critique the current political drama.

http://tuwakenya.appspot.com is a is a simplified blog-like site that allows visitors to quickly browse articles posted by others. The articles are presented in two lists, one for Most Recently Posted articles and another for the Most Read Articles.

To make it all easy, you don't need to register to start using tuwakenya, provided you a kenyan (actually we don't have a way to know if you really are Kenyan). But you must be authenticated by google before you can Post content on Tuwakenya(e.g by logging with your gmail account)

You dont have to login to read or comment on the contents of Tuwakenya.

Again, be among the first 100 to post content on Tuwakenya. Share your views about the Hague and the Ocampo 6, about the world bank grant to improve slums or even about your village and let Kenyans read and comment on it.

Saturday, March 26, 2011

Aligning Text At the Top a Table Cell

Well, am back again to blogspot after a 9 months break, that was quite refreshing and eyeopening.

Quick to the point, I really had some trouble trying to align text at the top of a table cell, which is understandable, given my little experience in front end development.

Any HTML/CSS developer has heard of the 'text-align' CSS property that can be assigned to virtually all HTML elements. It not only controls horizontal alignment of text but all other HTML objects including div's, and tables. It only takes 3 values which set the alignment to be right, left or center. Notice you can set vertical alignment using this property. So what do you do if you have a table row, in which some cells have text spanning multiple lines while others have single lines but are displayed at the center (vertically)? which is the default for most browsers?

Here is the solution. use CSS property 'vertical-align' which takes 'bottom' and 'top' values for bottom alignment and top alignment respectively.

Here is sample CSS for setting all table data cells to be vertically aligned.

td{
vertical-align:top;
}

Well, have a good time coding in HTML.