Category Archives: Web Design

web design tips

How to center absolute positioned element

Naturally an element with absolute positioning tends to be align to the left. To make that element float in the center horizontally use the following code: #elem { position: absolute; left: 0; right:0; } Unfortunately this does not work in … Continue reading

Special HTML Character for Bullet List

This is a best way to use a special character as a bullet for lists in CSS: li:before {     content: “0BB 020″;  /* » for example } When using these characters, like », it is necessary to encode them … Continue reading