Entries by Stefan Helander

How to vertically center text in a div

This is a neat way of centering text in a div. Live demo here.   <html> <head> <title>Vertical text center demo</title> </head> <body> <style> .textbox { height: 200px; width: 300px; text-align: center; font-size: 14px; font-weight: bold; background-color: blue; } .textbox p { height: 100%; display: flex; /* vertically center text */ justify-content: center; align-content: center; […]

Unable to mount NTFS filesystem due to hibernation

I had retrieved a harddisk out of a broken laptop containing Windows 10 in order to retrieve some files from it. The harddisk had been removed from the broken laptop and then installed in a HDD enclosure with USB connection. When I connected it to a Windows computer I could browse the Users folder but […]

Disable Joomla! two-factor authentication

The Joomla! two-factor authentication is a great security improvement. But if you got locked out, maybe because your smartphone with the Google Authenticator installed broke down, was factory reset or the app was uninstalled – what to do? First of all, reinstall the Google Authenticator app back into your smartphone or tablet Use FTP software […]