Profile
Achievement
cesarkohl's Recent Snippets
- All /
« Prev 1 Next »
The idea here is that you contain the content you want to center in two divs, an outer one and an inner one. You float both divs so that their widths automatically shrink to fit your content. Next, you relatively position the outer div with it's righ...
0
847
posted 12 years ago by cesarkohl
The HTML simply discovers if it's IE and its version or if it's not IE.
The jQuery discovers if it's IE, Firefox, Webkit Engine (Chrome and Safari) or Opera and its version as an integer.
1
1542
posted 13 years ago by cesarkohl