Created
February 23, 2012 19:46
-
-
Save JosephSilber/1894689 to your computer and use it in GitHub Desktop.
Revisions
-
JosephSilber revised this gist
Feb 23, 2012 . 2 changed files with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,5 +11,5 @@ html, body, #container { } img { position: relative; left: -28px; /* (256 - 200) / 2 */ } 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ {"view":"split-vertical","seethrough":"","prefixfree":"1","page":"css"} -
JosephSilber created this gist
Feb 23, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ /* Center wide image */ html, body, #container { height: 100%; } #container { width: 200px; margin: 0 auto; background: #ffd2be; } img { position: relative; left: -23px; /* (256 - 200) / 2 */ } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ <div id="container"> <img src="http://cdnx.dev4press.com/wp-content/themes/lightscape/products/icons/gd-affiliate-center_256.png" /> </div> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {"view":"split-vertical","prefixfree":"1","page":"css"}