Copyright Eugene TS Wong 2004
Have you ever browsed computer documentation, & found it hard to find the parts that tell you what to type? Did you ever have trouble finding certain portions of computer code? I've had times where I knew what I was looking for, but couldn't use search tools because I couldn't remember the exact spelling of a chunk of text.
With this user style sheet, you should be able to do it a little more easily.
var{ /* instance of a variable or program arguement */
background:#eeeeee;
color:#0000ff;
}
code{ /* a fragment of computer code */
background:#eeeeee;
color:#000000;
}
kbd{ /* text to be entered by user with the keyboard */
background:#000000;
color:#00ff00;
}
samp{ /* a sample of output from programs, scripts, etc. */
background:#777777;
color:#ffff00;
}
All I did was change the background of the text & the colour of the lettering, so it should work in most browsers.
There should be a link on the right side of this journal that takes you to
a tutorial on how to use user style sheets.
If you have any questions, then don't hesitate to ask.
Next Journal Entry: using CSS to customize tables.