Thanks carriehomer I am not using inline styles and internal styles. I have corrected a few instances where color and background-color were the same and the ul works correctly in MSIE9 bullets shown but not in the other browsers. Safari is so slow cannot use.
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
}
body {
background-color: #222;
line-height: 120%;
font-size: 11px;
color: #999;
font-family: "Trebuchet MS", Helvetica, sans-serif;
text-align: center; /* Centers the page content container in IE 5 browsers. */
margin: 0 0 0 0;
padding: 0 0 0 0;
}
body#home a#nav-home,
body#2 a#nav-2,
body#3 a#nav-3,
body#4 a#nav-4,
body#5 a#nav-5
{
color: #fff;
background-color:#222;
}
html, body{
height:100%;
}
h1 {
line-height: 120%;
color: #999;
background-color:#222;
font-size: 18px;
font-weight: bold;
}
h2 {
line-height: 120%;
color: #999;
background-color:#222;
font-size: 14px;
font-weight: bold;
}
h3 {
line-height:120%;
color: #999;
background-color:#222;
font-size: 12px;
font-weight: bold;
}
p{
line-height:120%;
font-size:12px;
color:#999;
background-color:#222;
}
.centre{
text-align:center;
}
#outerWrapper {
background-color: #222;
color:#999;
width: 960px;
min-height:100%;
text-align: left; /* Redefines the text alignment defined by the body element. */
margin: 0 auto 0 auto;
}
#outerWrapper #header {
background-color: #222;
line-height: 120%;
font-size: 30px;
padding: 20px 10px 10px 10px;
font-weight: normal;
color:#999;
border-bottom: solid 2px #999;
}
#outerWrapper #topNavigation ul{
padding:1em 0;
margin: 0px auto;
list-style-type: none;
background-color: #222;
color: #fff;
width: 100%;
font: normal 130% arial, helvetica, sans-serif;
text-align: center;
}
li {
display: inline;
margin:0 .2em;
font-size:16px;
text-decoration: none;
}
li a
{
padding: 3px 10px;
background-color: #222;
color: #999;
text-decoration: none;
}
a:link
{
color:#999;
background-color:#222;
text-decoration: none;
}
a:focus
{
color:#fff;
}
li a:active
{
text-decoration: none;
background-color: #222;
color: #fff;
}
#outerWrapper #contentWrapper #content {
padding: 10px 10px 10px 10px;
margin: 0 0 0 0;
overflow:auto;
padding-bottom: 44px;
border-top:2px solid #999;
/* border-bottom:2px solid #999;*/
border-color: #999;
background-color:#222;
color:#999;
}
#outerWrapper #contentWrapper #content #contact {
padding: 10px 10px 10px 10px;
margin: 0 0 0 0;
overflow:auto;
padding-bottom: 20px;
border-color: #999;
color:#000;
background-color:#222;
}
form {
margin:0;
padding: 0;
}
.formbackground {
background-color:#999;
color:#000;
}
.inputbackground {
background-color:#b4b4b4;
}
#content a{
color:#fff;
text-decoration:none;
}
#content a:link{
color:#999;
background-color:#222;
}
#content a:visited{
color:#999;
background-color:#222;
}
#content a:hover{
color:#fff;
}
.white{
color:#fff;
}
ul.a li{
color: #999;
list-style-type: disc;
display: block;
background-color: #222;
font-size: 12px;
list-style-position: outside;
margin-left:40px;
}
body#profile #content ul li{
background-color:#222;
color:#999;
}
#footer a:link{
color:#999;
background-color:#222;
}
#footer a:visited{
color:#999;
background-color:#222;
}
#footer a:hover{
color:#fff
}
#footer a:active {outline:none;
}
#footer {
background-color: #222;
border-top: solid 2px #999;
padding: 10px 10px 10px 10px;
width: 960px;
color:#999;
text-align:center;
position:relative;
margin:-44px auto 0 auto;/*negative value of footer height + top & bottom borders re stickyfooter code*/
height:40px;
clear:both;
}
/*Opera Fix*/
body:before {
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;
}
/*end of file */
I had 17 or 18 CSS validation warnings, better than 70 + But on inspection a lot seemed to be wrong! I also use Lytebox but that is not relevant to the page where the UL is used.
Geoff