This file contains 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
function buttonEndings() { | |
if (!document.getElementsByTagName) { | |
return false | |
} | |
var buttons = getElementsByClass("button"); | |
/* loop through all buttons and attach a div */ | |
for (i=0; i < buttons.length; i++) { | |
var div = document.createElement("div"); | |
div.className = "buttonEnding"; |
This file contains 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
... | |
<form action="rounded.html" method="get"> | |
<input type="submit" value="Submit me!" /> | |
<div class="buttonEnding"></div> | |
</form> | |
... |
This file contains 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
input.button { | |
border: 0; | |
background: #fff url(button.gif) no-repeat; | |
height: 22px; | |
/* used to catch the buttonEnding */ | |
position: relative; | |
} | |
.buttonEnding { | |
position: absolute; |
This file contains 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
... | |
<form action="rounded.html" method="get"> | |
<input type="submit" value="Submit me!" /> | |
</form> | |
... |
This file contains 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
#container { | |
/* do not apply paddings/margins to parent */ | |
width: 300px; | |
} | |
/* child of the #container */ | |
#navigation { | |
padding: 0 10px; | |
margin: 0 20px; | |
} |
This file contains 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
/* =HEAD | |
************************/ | |
... | |
/* =NAVIGATION | |
************************/ | |
... |
This file contains 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
... | |
<body> | |
<div id="head">...</div> | |
<div id="navigation">...</div> | |
<div id="content">...</div> | |
<div id="footer">...</div> | |
</body> |
This file contains 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
/* get rid of default margins/paddings */ | |
* { | |
padding: 0; | |
margin: 0; | |
} | |
/* 1em = 10px */ | |
body { | |
font-size: 62.5% | |
} |
This file has been truncated, but you can view the full file.
This file contains 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
brew install --user-llvm --with-mysql --with-intl --with-suhosin https://raw.github.com/josegonzalez/homebrew-php/master/Formula/php.rb | |
######################################################################## 100.0% | |
==> Installing php dependency: gettext | |
==> Downloading http://ftpmirror.gnu.org/gettext/gettext-0.18.1.1.tar.gz | |
######################################################################## 100.0% | |
==> Downloading patches | |
######################################################################## 100.0% | |
######################################################################## 100.0% | |
==> Patching |
This file contains 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
brew install https://raw.github.com/ampt/homebrew/php/Library/Formula/php.rb | |
######################################################################## 100.0% | |
==> Downloading http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror | |
######################################################################## 100.0% | |
==> Patching | |
patching file ext/tidy/tidy.c | |
==> ./configure --prefix=/usr/local/Cellar/php/5.3.10 --disable-debug --with-config-file-path=/usr/local/Cellar/php/5.3.10/etc --with-iconv-dir=/usr --enable-exif --enable-soa | |
==> make | |
==> make install | |
==> cp ./php.ini-production /usr/local/Cellar/php/5.3.10/etc/php.ini |
NewerOlder