How to disable text selection highlighting in CSS

In many cases, web browsers allow the user to select text elements on a page. However, this may not be the desired option in specific situations. You may want to avoid such behavior when adding buttons, links or any other non-standard elements to your HTML code. To solve such an issue, you may add the …

How to change color of a placeholder in CSS

This is a very popular case in web development. Sometimes, when making a HTML form, you need to change color of a placeholder text to the desired custom value. It can be done very easily, but still, you have to know some aspects to make it look good in different browsers, especially in old. We …

How to horizontally center a DIV element

Sometimes when making a web site, you may need to center your div element horizontally inside of another container on your HTML page. There are different methods and webmasters should know how to properly use all of them. We will describe all aspects of fixing this issue and you can choose the most suitable solution …