
Zitat von
rnussholz
Wenn du den Menülink "Table - Content Category" aufrufst, hast du die Möglichkeit dort ein Page Class Suffix anzugeben. Gebe dort z. B. ein "_link", dann gibst du in der template_css.css folgendes ein:
Code:
.contentpane_link {
Deine Werte, die du haben möchtest, z. B. line-height: 140%;
}
So ändert er nur den einen Eintrag bei dir.
Nö du, so funktioniert das leider nicht. Ich hab hier mal die CSS und einen Ausschnitt des html-Teils reingepackt, eventuell hab ich ja dort irgendwo einen Murks drin, den ich nicht sehe
Über .contentpane-faq wollte ich die Formatierung angeben - leider ohne Erfolg. Habe es auch schon über sectiontableentry versucht (auch vergeblich). Der Quellcode der Content Category sagt folgendes:
HTML-Code:
<form action="http://test.de/content/category/3/7/819/" method="post" name="adminForm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4">
<table>
<tr>
<td align="right" width="100%" nowrap="nowrap"> Suche:
<input type="text" name="filter" value="" class="inputbox" onchange="document.adminForm.submit();" />
</td>
</tr>
</table>
</td>
</tr>
<tr class="sectiontableentry1-faq" >
<td>
<a href="http://test.de/content/view/151/819/">
Hier die Frage 1 in der Liste </a>
</td>
</tr>
<tr class="sectiontableentry2-faq" >
<td>
<a href="http://test.de/content/view/150/819/">
Hier die Frage 2 in der Liste </a>
</td>
</tr>
<tr class="sectiontableentry1-faq" >
<td>
<a href="http://test.de/content/view/149/819/">
Hier die Frage 3 in der Liste
Hier die CSS-Datei:
Code:
/* Alle nicht extra-formatierten Links */
A:visited { color: #000000; text-decoration: underline; font-family : Arial; font-size: 12px}
A:active { color: #000000; text-decoration: underline; font-family : Arial; font-size: 12px}
A:link { color: #000000; text-decoration: underline; font-family : Arial; font-size : 12px}
A:hover { color: #ff0000; text-decoration: underline; font-family : Arial; font-size : 12px}
/* Menu(s) */
#Tabelle1LYR { padding-top: 4px; }
a.mainlevel-mainnav {
padding-right:5px;
margin-top:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
}
div.moduletable-mainnav a.mainlevel {
line-height:15px;
text-align:right;
padding-left:15px;
padding-right:15px;
border-left:1px dotted #000000;
text-decoration: none;
font-family : Arial;
font-size: 13px;
}
div.moduletable-mainnav a.mainlevel:hover {
line-height:15px;
text-align:right;
padding-left:15px;
padding-right:15px;
border-left:1px dotted #000000;
text-decoration: none;
font-family : Arial;
font-size: 13px;
color: #ff0000;
}
a#active_menu.mainlevel {
color: #ff0000;
font-weight:bold;
}
div.moduletable-mainnav td {
text-align:right;
}
/* Left-Menu*/
#TabelleEnde {
border-top:1px dotted #000000;
}
a.mainlevel-leftmenu {
display:block;
padding-left:10px;
padding-right:5px;
margin-top:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
}
div.moduletable-leftmenu a.mainlevel {
display:block;
border-bottom:1px dotted #000000;
line-height:25px;
padding-left:10px;
padding-right:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
padding-top:5px;
padding-bottom:5px;
}
div.moduletable-leftmenu a.mainlevel:hover {
display:block;
line-height:25px;
padding-left:10px;
padding-right:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
color: #ff0000;
border-bottom:1px dotted #000000;
padding-top:5px;
padding-bottom:5px;
}
div.moduletable-leftmenu a.sublevel {
line-height:20px;
padding-left:50px;
padding-right:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
}
div.moduletable-leftmenu a.sublevel:hover {
line-height:20px;
padding-left:50px;
padding-right:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
color: #ff0000;
}
a#active_menu.sublevel {
color: #ff0000;
font-weight:bold;
}
a.mainlevel-optional {
display:block;
padding-left:10px;
padding-right:5px;
padding-top:5px;
padding-bottom:5px;
text-decoration: none;
font-family : Arial;
font-size: 13px;
border-top:1px dotted #000000;
border-bottom:1px dotted #000000;
}
a#active_menu.mainlevel {
color: #ff0000;
font-weight:bold;
}
/* Layout */
body { background-color:#ffffff;
font-size: 12px;
font-family: arial, sans-serif;
line-height: 1.2
}
td, div.moduletable {
font-size: 12px;
font-family: arial, sans-serif;
line-height: 1.2
}
.contentpane-faq {
font-size: 12px;
font-family: arial, sans-serif;
line-height: 140%;
}
#rand td, #rand th {
border: 1px solid #ABABCC;
}
table.rightboxes{
border: 1px solid #909090;
}
.button {
border: 1px solid #BBBBBB;
}
.inputbox {
border: 1px solid #BBBBBB;
}
/* Layout (Weiter-link) */
a.readon {
font-size: 12px;
text-align: right;
text-decoration: none;
line-height: 15px;
border: 1px solid #EEEEEE;
margin-top: 10px;
text-decoration: none;
font-weight: normal;
}
a.readon:hover {
background: #EEEEEE url(../images/readon.gif) no-repeat left;
text-decoration: none;
}
/* Layout */
.contentheading {
width: 100%;
font-weight: bold;
font-size: 13px;
line-height: 20px;
font-family: arial, verdana, sans-serif;
color: #000000;
}
.contentpaneopen {
background: transparent;
font-size: 12px;
font-family: arial, sans-serif;
line-height: 1.2;
}
table.contentpane td.contentheading {
background: transparent;
font-size: 12px;
font-family: arial, sans-serif;
line-height: 1.2;
}
table.contentpane ul {
margin: 0px;
padding: 0px;
list-style: none;
}
table.contentpane ul li{
padding: 0px;
margin: 0px;
}
.categorytitle {
width: 100%;
font-weight: bold;
font-size: 13px;
line-height: 20px;
font-family: arial, verdana, sans-serif;
color: #000000;
}
.componentheading {
width: 100%;
font-weight: bold;
font-size: 13px;
line-height: 20px;
font-family: arial, verdana, sans-serif;
color: #000000;
}
table.moduletable th {
width: 100%;
font-weight: bold;
font-size: 13px;
line-height: 20px;
font-family: arial, verdana, sans-serif;
color: #000000;
}
.back_button a{
font-size: 10px;
font-weight: normal;
}
Lesezeichen