logoWebbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webbserv1-dice/exercises/dice7/

CDice.php
CDiceImage.php
CHistogram.php
css.css
dice-7.php
dicefaces_32x32.jpg

css.css

25 lines ASCII Unix (LF)
body {
 font-family: Calibri, Verdana, sans-serif;
}
ul.dice {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.dice li {
  display: inline-block;
  padding: 0;
  margin: 0 4px 0 0;
  width: 32px;
  height: 32px;
  background: url(dicefaces_32x32.jpg) no-repeat;
}

ul.dice li.dice-1 { background-position: -160px 0px; }
ul.dice li.dice-2 { background-position: -128px 0px; }
ul.dice li.dice-3 { background-position:  -96px 0px; }
ul.dice li.dice-4 { background-position:  -64px 0px; }
ul.dice li.dice-5 { background-position:  -32px 0px; }
ul.dice li.dice-6 { background-position:    0px 0px; }