Articles tagged under CSS

Linking from one CSS StyleSheet to Another

Linking from one CSS StyleSheet to Another Simply add the following to the top of your CSS StyleSheet to link it to another: @import "MyOtherStylesheet.css"; NOTE: the path is relative to the current StyleSheet

Paul Hayman - 5,988 views

Centering a DIV using the negative margin method

Centering a DIV using the negative margin method The following CSS will center a DIV whih is 500px wide. This method is very clean and works in all browsers. div {      position: absolute;     left: 50%;  &nb

Paul Hayman - 16,877 views