Zum Inhalt springen

css_styled_content und bullets

Erstellt am 1. Dezember 2005 · 9 Antworten · letzte Antwort am 2. Dezember 2005

Tags: Frage

johanness ·

Hallo,

ich verwende css_styled_content und will das Layout von der bulletlist anpassen.
Momentan spuckt mir Typo3 folgenden Code aus:

<ul class="csc-bulletlist csc-bulletlist-0">
  <li>Netzwerk-Grundlagen</li>
  <li>Routing und Firewall</li>
  <li>Einfache Netzwerkdiagnose</li>
  <li>DHCP-Server und Client</li>
</ul>

Ich hätte aber gern folgendes:

<ul>
  <li class="layout1">Netzwerk-Grundlagen</li>
  <li class="layout1">Routing und Firewall</li>
  <li class="layout1">Einfache Netzwerkdiagnose</li>
  <li class="layout1">DHCP-Server und Client</li>
</ul>

Wie geht das?

Danke,
Johannes

just2b ·

warum nicht so im CSS?

.csc-bulletlist csc-bulletlist-0 li {
color:red;
}

oder wars
ul.csc-bulletlist csc-bulletlist-0 li { ...}

lg georg
ps: sorry falls falsch, bitte um ausprobieren 😉

johanness ·

http://magnum-opus.de/ => Der Netzwerker

Dort ist die Bulletlist:

				<ul class="csc-bulletlist csc-bulletlist-0">
					<li>Netzwerk-Grundlagen (TCP/IP)</li>
					<li>Routing und Firewall</li>
					<li>Einfache Netzwerkdiagnose</li>
					<li>DHCP-Server und Client</li>
					<li>DNS-Server und Client</li>
					<li>Apache Webserver</li>
					<li>FTP-Server</li>
					<li>WWW-Proxy SQUID</li>
					<li>NFS - Das Network Filesystem</li>
					<li>SAMBA</li>
					<li>Emailserver Postfix</li>
				</ul>

Im CSS-File (http://magnum-opus.de/fileadmin/static/style.css):

.csc-bulletlist csc-bulletlist-0 li {
	color:red;
}

Aber es ist ja sichtbar nicht rot!

johanness ·

Danke! Das klappt beides.

Aber wie bekomme ich jetzt z.B. noch ein Bild vorne hin? Oder Mache nur das Bullet vorne dran rot?