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 
        
        
            1287 
        
                    posted 13 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 
        
        
            3166 
        
                    posted 14 years ago by cesarkohl