- Sunday, December 27, 2015, 7:12
- CSS, How-to
Sometimes its a headache aligning the text elements inside div to the middle. The easiest solution is to add line-height value equal to the height of the div element.
Problem:
Suppose we have
This does not look good because it is not vertically aligned to the middle. So the solution is to add line and line-height to ...
Full story
- Saturday, August 8, 2015, 16:58
- Android, How-to
I came across another weird problem that i had TabHost inside Navigation Drawer and it works fine when loaded but while i change the orientation of the Android Device it displays nothing(..there might be the same case for other configuration changes as well).
There is a simplest solution to this. You need to change FragmentPagerAdapter instead of FragmentStatePagerAdapter in your TabHost class.
i.e. Change
...
Full story
- Friday, August 7, 2015, 7:28
- How-to, Wordpress
I came across weird problem while i tried to login in my admin login i.e. i could not login in admin panel after i transferred my hosting account. Wordpress displays the error "ERROR: Unreadable CAPTCHA token file" while i tried to enter through login.
I came across two suggestions from the internet i.e.
1). Changing the file permission ...
Full story