Category Archives: HTML / PHP

Capital and small letters

This is easily done with css.

Capital letters inline

test -> TEST

Small letters inline

Test -> test

Capital letters stylesheet class

.capital {
text-transform: uppercase;

Small letters stylesheet class

.small {
text-transform: lowercase;

Margin and padding

Margin increases the distance between the border of your current object and other objects. Padding increases the distance between content and border within your current object. Both parameters are easily configured via css.

margin: top right bottom left

padding: top right bottom left