Box shadow in CSS

If your goal is to make a visually pleasant website, then adding custom CSS shadows may be a great choice. It's a much better option than using images or backgrounds with shadow effects drawn in some graphical editor. The CSS code is rendered by the browser and is faster to load over the network. But …

HTML button that acts like a link

If you are making some web application and you need to redirect user to another page, you can create a button that will act link a link. Regular <a href="#"> tag may not be suitable in some cases, for example, when you have complex logic or unusual content on a form. This article contains information …

Simple PHP contact form

In this article, you will learn on how to build simple contact form in native PHP language without adding any other frameworks or libraries. This code may be useful when you want to build custom site or web application and your preference is to avoid any complex 3rd party tools. You need to start with …

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 …