This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div.this_element { float:right; margin-top: 10px; *margin-top: 5px; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div.this_element { float:right; margin-top: 10px; } | |
| .ie6 div.this_element { margin-top: 5px; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="container"> | |
| <header> | |
| </header> | |
| <div id="main"> | |
| </div> | |
| <footer> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Grab Google CDN's jQuery. fall back to local if necessary --> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script> | |
| <script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.4.2.js"%3E%3C/script%3E'))</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--[if lt IE 7 ]> | |
| <script src="js/libs/dd_belatedpng.js"></script> | |
| <script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script> | |
| <![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet | |
| change the UA-XXXXX-X to be your site's ID --> | |
| <script> | |
| var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']]; | |
| (function(d, t) { | |
| var g = d.createElement(t), | |
| s = d.getElementsByTagName(t)[0]; | |
| g.async = true; | |
| g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
| s.parentNode.insertBefore(g, s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // define what objects, constructors and functions you want to profile | |
| // documentation here: http://developer.yahoo.com/yui/profiler/ | |
| YAHOO.tool.Profiler.registerObject("jQuery", jQuery, true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // randomize a little bit | |
| var rMe = function() { | |
| return Math.floor(Math.random() * 255); | |
| }, randomize = function() { | |
| return [rMe(), rMe(), rMe()]; | |
| }; | |
| // I need harmony, everyone need. | |
| $("#header").add('.mk-blog-demo-harmony').harmony({ | |
| color: randomize() |