introduction

2011年6月22日 星期三

Separation line disappears

On designing the drug label, I drew a line separating the header and the content. However when the labels were printed in sequence, the line was printed in dotted line on one label alternating with not printed on another. The solution is to make the line bolder. Open with notepad the file Content.css in the following path:

C:\Program Files\CMS3\Tomcat\webapps\CMS3\js\ext-2.2\tiny_mce\themes\advanced\skins\default\content.css

Add the following lines between the @@@s, excluding the @@@s, and then restart the service:

table.requestItem th {
    cursor:text;
    font-size:0.75em;
    background-color:#cccccc;
    border-bottom: 1px solid #000000;
}

@@@
hr{
    background-color: #000;
    color: #000;
    border-top: 2px #000 solid;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
    height: 0;
}
@@@

/*
@media screen{
    html {
        background-color:#ecf5f7;
    }

沒有留言:

張貼留言