Project

General

Profile

« Previous | Next » 

Revision 1940

Added by brooke almost 21 years ago

made results page table header into <th> so we can apply a different css style to eml stylesheet subheaders. added whitespace above& below section headers

View differences:

lib/style/skins/knb/knb.css
142 142
.tablehead {
143 143
    background-image: url(@knb-site-url@/images/panelhead_bg.gif);
144 144
    color: #0040A1; 
145
	  text-align: center;
145
    text-align: left;
146 146
    font-size: 14px; 
147
    font-weight: bold; 
147
    font-weight: bold;
148
    border-top: solid #ffffff 5px;
149
    border-bottom: solid #ffffff 2px;
150
    padding-left: 15%;
151
    padding-top: 0px;
152
    padding-bottom: 0px;
153
}
154

  
155
th.tablehead {
156

  
157
    text-align: center;
158
    border: 0px;
159
    margin: 0px;
148 160
    padding: 0px;
161
    height:  21px;
149 162
}
150 163

  
151 164
.tablehead_lcorner {
152 165
    background-image: url(@knb-site-url@/images/panelhead_bg_lcorner.gif);
166
    background-position: right top;
167
    background-repeat: no-repeat;
153 168
    padding: 0px;
154 169
    margin:  0px;
155 170
    width:   10px;
......
158 173
    
159 174
.tablehead_rcorner {
160 175
    background-image: url(@knb-site-url@/images/panelhead_bg_rcorner.gif);
176
    background-position: left top;
177
    background-repeat: no-repeat;
161 178
    padding: 0px;
162 179
    margin:  0px;
163 180
    width:   10px;
lib/style/common/resultset.xsl
82 82

  
83 83
         <table width="95%" align="center" border="0" cellpadding="0" cellspacing="0">
84 84
           <tr>
85
             <td class="tablehead_lcorner" align="right" valign="top"><img src="images/transparent1x1.gif" width="1" height="1" /></td>
86
             <td class="tablehead">Title</td>
87
             <td width="15%" class="tablehead" style="text-align: left">Contacts</td>
88
             <td width="15%" class="tablehead" style="text-align: left">Organization</td>
89
             <td width="15%" class="tablehead" style="text-align: left">Keywords</td>
85
             <th class="tablehead_lcorner" align="right" valign="top"><img src="images/transparent1x1.gif" width="1" height="1" /></th>
86
             <th class="tablehead">Title</th>
87
             <th width="15%" class="tablehead" style="text-align: left">Contacts</th>
88
             <th width="15%" class="tablehead" style="text-align: left">Organization</th>
89
             <th width="15%" class="tablehead" style="text-align: left">Keywords</th>
90 90
             <xsl:if test="$enableediting = 'true'">
91
               <td width="10%" class="tablehead" style="text-align: middle">Actions</td>
91
               <th width="10%" class="tablehead" style="text-align: middle">Actions</th>
92 92
             </xsl:if>
93
             <td class="tablehead_rcorner" align="right" valign="top"><img src="images/transparent1x1.gif" width="1" height="1" /></td>
93
             <th class="tablehead_rcorner" align="right" valign="top"><img src="images/transparent1x1.gif" width="1" height="1" /></th>
94 94
           </tr>
95 95

  
96 96
         <xsl:for-each select="resultset/document">

Also available in: Unified diff