Could the coders please try and set pseudo classes for the <a> more in keeping with W3C guidelines in terms of order eg:
Link
Visited
Hover
Active
.. at the moment is is typically VLAH
Condensing the code to declare a default a.class (font, size, padding, borders etc) and simply changing the various states for changes in colour, underlines etc would make changing the class appearance much simpler. At the moment each state is having all the attributes declared adding to editing time and code bloat.... eg:
a.link_menu:visited {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #336699;
border: 1px solid #ccccff;
}
a.link_menu:link {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #336699;
border: 1px solid #ccccff;
}
a.link_menu:active {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #336699;
border: 1px solid #ccccff;
}
a.link_menu:hover {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #003366;
border: 1px solid #ccccff;
}
as very little changes between the states.
Link
Visited
Hover
Active
.. at the moment is is typically VLAH
Condensing the code to declare a default a.class (font, size, padding, borders etc) and simply changing the various states for changes in colour, underlines etc would make changing the class appearance much simpler. At the moment each state is having all the attributes declared adding to editing time and code bloat.... eg:
a.link_menu:visited {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #336699;
border: 1px solid #ccccff;
}
a.link_menu:link {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #336699;
border: 1px solid #ccccff;
}
a.link_menu:active {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #336699;
border: 1px solid #ccccff;
}
a.link_menu:hover {
padding: 2px 5px 2px 5px;
margin: 0px 1px 0px 0px;
color : #ffffff;
text-decoration : none;
background-color: #003366;
border: 1px solid #ccccff;
}
as very little changes between the states.
Comment