Add
outline:none;
to body style
Filed under CSS | No Comments »
.line {border-top: 2px dotted #535152;
margin-top: 5px; }
Filed under CSS | No Comments »
You can add items to the list / menu select code
<form action="" method="get"><select name="DropDownList">
<option>red</option>
</select></form>
like these:
style="background: black; color: red; text-decoration; none; border: 1px solid red;"
<form method="get" action="">
<select name="DropDownList" style="border: 2px solid #7ed01d; width: 115px; color: #ff9d33;">
<option>red</option>
<option>blue</option>
<option>green</option>
</select>
</form>
Filed under CSS | No Comments »
I have never had so much fun reading a computer book. The writing is entertaining, sometimes downright funny and the explanations are clear and elegant.
More practically, I use this book all the time. It has explanations for most basic CSS situations and solutions for many of the problems CSS designers run into. I’ve tried a number of books and this one is by far my favorite.
Filed under CSS | No Comments »
body {
text-align: center
}
#container {
width: 770px;
margin: 0 auto;
text-align: left
}
The text-align:left in the container rule is to keep the text from center aligning due to the text-align: center in the body rule.
Filed under CSS | No Comments »
Some help files appear in super tiny, small fonts that are hardly legible. This appears to be caused by the help file’s use of Internet Explorer’s (IE) style settings.
To fix the problem, go to IE’s Tools menu and select the bottom option, Internet Options, go to the General tab and then to the Accessiblity button at the bottom of the tab. A dialog box opens and at the bottom is a space for a user style sheet. Click the check box and use a style sheet you’ve defined with font-sizes set at least to medium. Mine is called Ichoosetosee.css (name it anything you want) and looks like this:
/* CSS Document */
li {
font-size: medium;
}body {
color: #000000;
background-color: #FFFFFF;
margin: 5px;
font-family: sans-serif;
font-size: medium;
}p {
font-size: medium;
color: #000000;
font-style: normal;
}
table {
font-size: medium;
color: #000000;
}h1 {
font-size: 18px;
font-weight: bold;
text-align: center;
}h2 {
font-size: large;
color: #000000;
font-weight: normal;
}h3 {
font-size: 12px;
}hr {
height: 3px;
width: 704px;
}
hr.short {height: 1px;
width: 675px;
}a:link {
color: #006666;
font-weight: normal;
text-decoration: none;
}
a:visited {
color: #2B0055;
text-decoration: none;
font-weight: normal;
}
a:hover {
font-weight: normal;
color: #6635A8;
text-decoration: none;}
a:active {
font-weight: normal;
text-decoration: none;
color: #CC99FF;
}
Filed under CSS, Miscellaneous | No Comments »
#sidebar ul li {
list-style: disc;
list-style-position: inside;
}
#sidebar ul li ul li{
list-style: circle;
list-style-position: inside;
}
Filed under CSS | No Comments »