/* For use with the Dark Theme */
body
{
margin: 0px;
font-family: sans-serif;
}
/* Fix iframe size/position */
iframe
{
width: 472px;
height: 64px;
vertical-align: top;
}
pre, tt
{
font-family: monospace;
}
a
{
text-decoration: none;
}
a:hover, a:hover font[color]
{
color: #333;
}
a:hover, a:hover img
{
background-color: #0ff;
}
pre tt
/* pre > tt */
{
display: block;
color: #8f0;
background-color: #333;
border-left: solid #888 5px;
padding: 10px 10px 10px 15px;
font-size: 85%;
width: 93%;
margin-right: 0px;
margin-left: auto;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="text"],
input[type="password"],
input[type="checkbox"],
input[type="radio"],
select,
textarea
{
border: solid #333 1px;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="text"],
input[type="password"],
textarea
{
margin: 3px;
padding: 3px;
}
input:hover, textarea:hover, select:hover
{
color: #ccc;
background-color: #888;
}
input:focus, textarea:focus, select:focus
{
color: #333;
background-color: #ffa;
}
1 March 2002 update: made code more readable by making the font face yellower
5 April update: since I can now use this CSS in my on-site CSS without problems (no more bracket bug), I removed a comment indicating that I had this in an external stylesheet.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.