Hi, everybody!.
I am still a little confused how the css styles are used in CMSMS.
I downloaded version 0.9.2 (last stable, as i am not really good in PHP).
I edited the styles in my new template.
I also tried to find out, where for example the position for the phplayer menu is fixed. I can change the border position, but not the position of the menu itself. Screenshot below shows what i mean. The green border should be around the grey menu, the green border is positioned like i want, where do i place the position for the grey menu?
(img after unquote of the horrible style attributes delivered with the cms pages) .
When i call the side, and look into the css, i am shocked how many times the same tag styles are listed.
Here is the delivered style:
quote
.horbar {
color: black;
background-color: #FFFFE4;
/*border: 2px outset #cecac1;*/
}
.horbaritem {
float: left;
white-space: nowrap;
font-family: verdana, geneva, arial, helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
}
.horbaritem a {
display: block;
text-decoration: none;
}
.horbaritem a:link {
color: #000000;
text-decoration: none;
}
.horbaritem a:visited {
color: #000000;
text-decoration: none;
}
.horbaritem a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.horbaritem a:active {
color: #ff0000;
text-decoration: none;
}
.verbar {
color: black;
background-color: #EDF2F5;
}
.submenu {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #EDF2F5;
border: 1px solid #64879d;
}
.item {
padding: 3px;
text-align: left;
white-space: nowrap;
}
.separator {
background-color: #ff0000;
border-top: 1px solid #9e9a91;
border-bottom: 1px solid #ffffff;
margin: 2px 1px 2px 1px; /* top right bottom left */
height: 0;
font-size: 1px;
line-height: 0
}
.item a {
position: relative;
display: block;
text-decoration: none;
}
.item a:link {
color: #000000;
text-decoration: none;
}
.item a:visited {
color: #000000;
text-decoration: none;
}
.item a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.item a:active {
color: #ff0000;
text-decoration: none;
}
.item .fwdarr {
position: absolute;
top: 5px;
right: 7px;
}
.horbar {
color: black;
background-color: #FFFFE4;
/*border: 2px outset #cecac1;*/
}
.horbaritem {
float: left;
white-space: nowrap;
font-family: verdana, geneva, arial, helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
}
.horbaritem a {
display: block;
text-decoration: none;
}
.horbaritem a:link {
color: #000000;
text-decoration: none;
}
.horbaritem a:visited {
color: #000000;
text-decoration: none;
}
.horbaritem a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.horbaritem a:active {
color: #ff0000;
text-decoration: none;
}
.verbar {
color: black;
background-color: #EDF2F5;
}
.submenu {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #EDF2F5;
border: 1px solid #64879d;
}
.item {
padding: 3px;
text-align: left;
white-space: nowrap;
}
.separator {
background-color: #ff0000;
border-top: 1px solid #9e9a91;
border-bottom: 1px solid #ffffff;
margin: 2px 1px 2px 1px; /* top right bottom left */
height: 0;
font-size: 1px;
line-height: 0
}
.item a {
position: relative;
display: block;
text-decoration: none;
}
.item a:link {
color: #000000;
text-decoration: none;
}
.item a:visited {
color: #000000;
text-decoration: none;
}
.item a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.item a:active {
color: #ff0000;
text-decoration: none;
}
.item .fwdarr {
position: absolute;
top: 5px;
right: 7px;
}
.horbar {
color: black;
background-color: #FFFFE4;
/*border: 2px outset #cecac1;*/
}
.horbaritem {
float: left;
white-space: nowrap;
font-family: verdana, geneva, arial, helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
}
.horbaritem a {
display: block;
text-decoration: none;
}
.horbaritem a:link {
color: #000000;
text-decoration: none;
}
.horbaritem a:visited {
color: #000000;
text-decoration: none;
}
.horbaritem a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.horbaritem a:active {
color: #ff0000;
text-decoration: none;
}
.verbar {
color: black;
background-color: #EDF2F5;
}
.submenu {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #EDF2F5;
border: 1px solid #64879d;
}
.item {
padding: 3px;
text-align: left;
white-space: nowrap;
}
.separator {
background-color: #ff0000;
border-top: 1px solid #9e9a91;
border-bottom: 1px solid #ffffff;
margin: 2px 1px 2px 1px; /* top right bottom left */
height: 0;
font-size: 1px;
line-height: 0
}
.item a {
position: relative;
display: block;
text-decoration: none;
}
.item a:link {
color: #000000;
text-decoration: none;
}
.item a:visited {
color: #000000;
text-decoration: none;
}
.item a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.item a:active {
color: #ff0000;
text-decoration: none;
}
.item .fwdarr {
position: absolute;
top: 5px;
right: 7px;
}
.horbar {
color: black;
background-color: #FFFFE4;
/*border: 2px outset #cecac1;*/
}
.horbaritem {
float: left;
white-space: nowrap;
font-family: verdana, geneva, arial, helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
}
.horbaritem a {
display: block;
text-decoration: none;
}
.horbaritem a:link {
color: #000000;
text-decoration: none;
}
.horbaritem a:visited {
color: #000000;
text-decoration: none;
}
.horbaritem a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.horbaritem a:active {
color: #ff0000;
text-decoration: none;
}
.verbar {
color: black;
background-color: #EDF2F5;
}
.submenu {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #EDF2F5;
border: 1px solid #64879d;
}
.item {
padding: 3px;
text-align: left;
white-space: nowrap;
}
.separator {
background-color: #ff0000;
border-top: 1px solid #9e9a91;
border-bottom: 1px solid #ffffff;
margin: 2px 1px 2px 1px; /* top right bottom left */
height: 0;
font-size: 1px;
line-height: 0
}
.item a {
position: relative;
display: block;
text-decoration: none;
}
.item a:link {
color: #000000;
text-decoration: none;
}
.item a:visited {
color: #000000;
text-decoration: none;
}
.item a:hover {
color: #ffffff;
background-color: #4b6983;
text-decoration: none;
}
.item a:active {
color: #ff0000;
text-decoration: none;
}
.item .fwdarr {
position: absolute;
top: 5px;
right: 7px;
}
body {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
font-family: niamey, verdana, arial, helvetica, sans-serif;
color: #03FF03;
background-color: #000000;
}
a {
text-decoration: none;
font-weight: bold;
color: #FF03CE;
outline: none;
}
a:visited {
color: #FF03CE;
}
a:active {
color: #FF03CE;
}
a:hover {
color: #FF03CE;
text-decoration: underline;
}
.ahem {
display: none;
}
strong, b {
font-weight: bold;
}
p {
font-size: 16px;
line-height: 22px;
margin-top: 20px;
margin-bottom: 10px;
}
/* weird ie5win bug: all line-height to font-size ratios must agree or box gets pushed around. UPDATE: this has turned out to be very rare. my current recommendation is IGNORE this warning. at the moment i'm leaving it in only in case the issue turns up again. possibly the original bug in march 2001 was caused by an unusual combination of factors, although this solved it at the time.*/
h1 {
font-size: 24px;
line-height: 44px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
}
h2 {
font-size: 18px;
line-height: 40px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
}
h3 {
font-size: 16px;
line-height: 22px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
}
h4 {
font-size: 14px;
line-height: 26px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
}
h5 {
font-size: 12px;
line-height: 22px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
}
h6 {
font-size: 10px;
line-height: 18px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
}
p.sectionname {
font-size: 16px;
line-height: 22px;
margin-top: 0;
margin-bottom: 0;
}
li {
font-size: 12px;
line-height: 22px;
margin-top: 0;
margin-bottom: 0;
}
img {
border: 0;
}
.nowrap {
white-space: nowrap;
font-size: 10px;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
/* must be combined with nobr in html for ie5win */
}
.tiny {
font-size: 9px;
line-height: 16px;
margin-top: 15px;
margin-bottom: 5px;
}
div.menu {
top: 80px;
left: 5px;
float: left;
padding: 1px 2% 1px 2%;
margin: 1px 1% 1px 2%;
background: #000000;
position: fixed;
border: 2px solid #03FF03;
width: 120px;
z-index: 10;
}
div.content {
position: fixed;
top: 80px;
left: 190px;
float: right;
padding: 10px 2% 10px 2%;
margin: 20px 3% 20px 3%;
background: #000000;
border: 2px solid #03FF03;
width: 68%;
/*height: 90%;*/
/*overflow: scroll;*/
z-index: 1;
}
pre {
font-size: 12px;
line-height: 22px;
margin-top: 10px;
margin-bottom: 10px;
}
div.heading {
background-color: #cccccc;
color: #03FF03;
padding: 9px;
text-align: left;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
}
div.thebody {
padding: 5px;
margin-left: 150px;
font-size: 10pt;
font-family: Tahoma;
}
p.smalltitle {
font-size: 12pt;
font-weight: bold;
margin: 0;
padding: 4px;
background-color: #CCCCCC;
text-transform: uppercase;
color: #03FF03;
}
/* All the menu css */
.verbar {
color: #03FF03;
background-color: #cccccc;
}
.submenu {
position: fixed;
/* position: absolute; */
left: 0;
top: 0;
visibility: hidden;
}
.subframe {
position: relative;
display: block;
background-color: #cccccc;
border: 1px solid #03FF03;
}
.item {
padding: 2px;
text-align: left;
white-space: nowrap;
}
.separator {
background-color: #cccccc;
border-top: 1px solid #9e9a91;
border-bottom: 1px solid #cccccc;
margin: 2px 1px 2px 1px; /* top right bottom left */
height: 0;
font-size: 1px;
line-height: 0
}
.item a {
position: relative;
display: block;
text-decoration: none;
}
.item a:link {
color: #000000;
text-decoration: none;
}
.item a:visited {
color: #000000;
text-decoration: none;
}
.item a:hover {
color: #000000;
background-color: #cccccc;
text-decoration: none;
}
.item a:active {
color: #000000;
text-decoration: none;
}
.item .fwdarr {
position: absolute;
top: 5px;
right: 7px;
}
.headcontents {
position: fixed;
top: 0px;
left: 0px;
margin: 15px;
padding: 20px;
}
unquote
Your great help would be very nice.