Month: January 1998

  • Bug in Backgrounds for DIV Elements

    Bug in Backgrounds for DIV Elements

    Results are shown when using the following embedded CSS declarations (now done with inline CSS because this blog doesn’t allow embedded CSS.):

    code { font-family: Fixedsys, "Lucida Console",
    "Courier New", monospace; }
    .p { background: #CFC; /*lightest green*/
    color: black; }
    .v { background: #CFF; /*lightest blue*/
    color: black; }
    .d { background: #FCF; /*lightest purple*/
    color: black; }
    .samp { background: #FCF; /*lightest purple*/
    color: black;
    margin: 1em 3em;
    border: thin solid black;
    padding: 5mm; }
    .test { background: #CCC; /*lightest gray*/
    margin-bottom: 2em; padding: 1em; }
    

    Here’s how it looks in your browser:

    { font: 150% serif; }

    The quick brown fox jumped over the lazy dog.

    This is what it looked like in my browser (MSIE 4.72.2106.8 for Win95): (more…)