Tag: layout

How to Make Horizontal Navigation in CSS and HTML

Website use horizontal navigation because it's easier to see and it saves a lot of horizontal space compared to a vertical navigation. Copy the code below to create a horizontal...

How to Center Absolute Positioned Element in HTML and CSS

When you position an HTML element to absolute and it's not even in an element which is relatively position, your element will depends on the size of the screen. In this...

How to Center an Image in CSS

For beginners it's a big question how you will center an image using CSS. If you've been coding HTML for a ling time, you may probably know the HTML tag...