CS174
Chris Pollett
Sep 15, 2009
input:hover {color:red} /* input tag will turn red when mouse over. */
input:focus {color:green} /* when click into
input field, it will turn green */
rgb(0, 0, 0) /*decimal */ #C8C8C8 /*hex */
<li style="list-style-image: url(mybullet.png)"> item </li>
body {background-image: url(background.jpg);}
<style type="text/css">
p.first {position: absolute; top:1in; left:2in;}
p.second {position: relative; left:-1in;}
</style>
<p class="first">displays one inch down
two inches from left of top of screen</p>
<p class="second">displays 1inch to the left
of where the first paragraph finished</p>
<input type="text" name="fname" accesskey="f" />
short_open_tag = Onso that you can escape to a PHP script using <? rather than <?php
;error_reporting = E_ALL & ~E_NOTICEand uncomment it, restart Apache
<?php phpinfo(); ?>