php.de

Zurück   php.de > Webentwicklung > HTML, Usability und Barrierefreiheit

HTML, Usability und Barrierefreiheit Themen rund um Textauszeichnung, Formatierung, Barrierefreiheit und Usability.

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 17.12.2004, 16:40  
Gast
 
Beiträge: n/a
Standard nur in tabelle style benutzen!

hallo,

will wissen wie ich das machen muss wenn ich denn nachfolgenden style 1 nur in der ersten tabelle benutzen will.
und denn zweiten style in der zweiten tabelle.
kann mir da jemand weiter helfen?

Code:
<style title="style 1" type="text/css">
<!--
a:link {color: #000000; text-decoration: none;}
a:visited {text-decoration: none; color: #000000;}
a:hover {text-decoration: none; color: #000000;}
a:active {text-decoration: none; color: #000000;}
a {font-weight: bold;}
-->
</style>

<style title="style 2" type="text/css">
<!--
a:link {color: #FFFFFF; text-decoration: none;}
a:visited {text-decoration: none; color: #FFFFFF;}
a:hover {text-decoration: none; color: #FFFFFF;}
a:active {text-decoration: none; color: #FFFFFF;}
-->
</style>

</head>

<body>
<div align="center">
  <table width="200" border="0" cellpadding="0" cellspacing="0" ">
    <tr>
      <td width="40">[img]marketing_boehm_links.gif[/img]</td>
      <td background="mitte.gif"><p align="center"></p>      </td>
      <td width="30">[img]rechts.gif[/img]</td>
    </tr>
  </table>
  

 <table width="200" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="40">[img]firma_boehm_links.gif[/img]</td>
      <td background="mitte.gif"><p align="center">Weinhaus

        Finanzbuchhaltung

          <a href="http://www.weinhaus-boehm.de/webdesign/index.php" target="_blank">Webdesign

          Besuchertausch</a></p>
      </td>
      <td width="30">[img]rechts.gif[/img]</td>
    </tr>
 </table>
bedanke mich im voraus!

mfg markus
  Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 17.12.2004, 17:58  
Erfahrener Benutzer
 
Registriert seit: 29.10.2004
Beiträge: 1.783
derHund
Standard

gib den beiden tabellen ids und lege die styles dann pro id fest
__________________
derHund ist offline   Mit Zitat antworten
Alt 17.12.2004, 18:50  
Gast
 
Beiträge: n/a
Standard

meintest du so?
wenn ich es so mache wird alles beide weiß!

Code:
<style id="1" title="style 1" type="text/css">
<!--
a:link {color: #000000; text-decoration: none;}
a:visited {text-decoration: none; color: #000000;}
a:hover {text-decoration: none; color: #000000;}
a:active {text-decoration: none; color: #000000;}
a {font-weight: bold;}
-->
</style>

<style id="2" type="text/css">
<!--
a:link {color: #FFFFFF; text-decoration: none;}
a:visited {text-decoration: none; color: #FFFFFF;}
a:hover {text-decoration: none; color: #FFFFFF;}
a:active {text-decoration: none; color: #FFFFFF;}
-->
</style>
</head>

<body>
<div align="center">
  <table width="200" border="0" cellpadding="0" cellspacing="0" id="1">
    <tr>
      <td width="40">[img]marketing_boehm_links.gif[/img]</td>
      <td background="mitte.gif"><p align="center">Weinhaus

          Finanzbuchhaltung

          <a href="http://www.weinhaus-boehm.de/webdesign/index.php" target="_blank">Webdesign

Besuchertausch</a></p>      </td>
      <td width="30">[img]rechts.gif[/img]</td>
    </tr>
  </table>
  

 <table width="200" border="0" cellpadding="0" cellspacing="0" id="2">
    <tr>
      <td width="40">[img]firma_boehm_links.gif[/img]</td>
      <td background="mitte.gif"><p align="center">Weinhaus

        Finanzbuchhaltung

          <a href="http://www.weinhaus-boehm.de/webdesign/index.php" target="_blank">Webdesign

          Besuchertausch</a></p>
      </td>
      <td width="30">[img]rechts.gif[/img]</td>
    </tr>
 </table>
  Mit Zitat antworten
Alt 17.12.2004, 18:55  
Erfahrener Benutzer
 
Registriert seit: 29.10.2004
Beiträge: 1.783
derHund
Standard

Zitat:
meintest du so?
nein, so meinte ich das nicht.

findest du das entsprechende kapitel im selfhtml von selbst, oder soll ich einen link posten?
__________________
derHund ist offline   Mit Zitat antworten
Alt 17.12.2004, 19:11  
Gast
 
Beiträge: n/a
Standard

so weit so gut habs jetzt herausgefunden aber jetzt werden die links unterstrichen obwohl sie garnicht unterstrichen werden sollen!
es funktioniert nur das fett schreiben!

hier nochmal der quellcode:
Code:
<style type="text/css">
.tabelle_1{
link color: #000000; text-decoration: none;
visited text-decoration: none; color: #000000;
hover text-decoration: none; color: #000000;
active text-decoration: none; color: #000000;
font-weight: bold;
}
.tabelle_2{
link color: #FFFFFF; text-decoration: none;
visited text-decoration: none; color: #FFFFFF;
hover text-decoration: none; color: #FFFFFF;
active text-decoration: none; color: #FFFFFF;
}
</style>
</head>

<body>
<div align="center">
  <table width="200" border="0" cellpadding="0" cellspacing="0" class="tabelle_1">
    <tr>
      <td width="40">[img]marketing_boehm_links.gif[/img]</td>
      <td background="mitte.gif"><p align="center">Weinhaus

          Finanzbuchhaltung

          <a href="http://www.weinhaus-boehm.de/webdesign/index.php" target="_blank">Webdesign

Besuchertausch</a></p>      </td>
      <td width="30">[img]rechts.gif[/img]</td>
    </tr>
  </table>
  

 <table width="200" border="0" cellpadding="0" cellspacing="0" class="tabelle_2">
    <tr>
      <td width="40">[img]firma_boehm_links.gif[/img]</td>
      <td background="mitte.gif"><p align="center">Weinhaus

        Finanzbuchhaltung

          <a href="http://www.weinhaus-boehm.de/webdesign/index.php" target="_blank">Webdesign

          Besuchertausch</a></p>
      </td>
      <td width="30">[img]rechts.gif[/img]</td>
    </tr>
 </table>
  Mit Zitat antworten
Alt 17.12.2004, 19:18  
Erfahrener Benutzer
 
Registriert seit: 29.10.2004
Beiträge: 1.783
derHund
Standard

Zitat:
so weit so gut habs jetzt herausgefunden aber jetzt werden die links unterstrichen obwohl sie garnicht unterstrichen werden sollen!
es funktioniert nur das fett schreiben!
ich kann mir nicht vorstellen, daß das überhaupt funktioniert ...

warum schaust du nicht mal im selfhtml, wie es gemacht wird?
warum benutzt du keine zeichensetzung in deinen sätzen?
__________________
derHund ist offline   Mit Zitat antworten
Alt 17.12.2004, 19:27  
Gast
 
Beiträge: n/a
Standard

tut mir leid aber bei selfhtml.net und selfhtml.de find ich nichts.

hört sich blöd an!
  Mit Zitat antworten
Alt 17.12.2004, 19:54  
Erfahrener Benutzer
 
Registriert seit: 19.04.2004
Beiträge: 105
Monkey
Monkey eine Nachricht über ICQ schicken
Standard

Dann würde ich ja mal glatt auf http://de.selfhtml.org/ vorbeischauen. Da gibt es ein schönes CSS-Kapitel, wenn du das dann nicht verstehst, kannste gerne wieder nachfragen!
Monkey ist offline   Mit Zitat antworten
Alt 17.12.2004, 20:00  
Gast
 
Beiträge: n/a
Standard

das ist das gleiche wie bei selfhtml.net!
  Mit Zitat antworten
Alt 17.12.2004, 20:02  
Erfahrener Benutzer
 
Registriert seit: 18.09.2003
Beiträge: 13.598
PHP-Kenntnisse:
Fortgeschritten
imported_Ben ist zur Zeit noch ein unbeschriebenes Blatt
Standard

dann schau eben bei http://css4you.de vorbei.
imported_Ben ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Normalisierung einer chaotischen Tabelle maeck Datenbanken 10 12.12.2006 18:17
Koordinatengruppen in Tabelle erfassen ssm Datenbanken 5 18.09.2006 16:52
Zeilenanzahl einer tabelle mit WHERE aber ohne schleife? sovereign Datenbanken 13 17.04.2006 20:34
[Erledigt] Problem mit dem Füllen einer Tabelle über Formular PHP Tipps 2006 18 10.01.2006 12:51
[Erledigt] Problem mit Anzeige einer Tabelle mit dem Firefox? HTML, Usability und Barrierefreiheit 8 28.11.2005 15:08
Tabelle aktualisieren Datenbanken 3 23.11.2005 09:54
Problem mit mySQL Datenbanken 7 27.09.2005 12:06
mysql abfrage über 4 Tabelle - bis 3 geht, bei der 4. habert Datenbanken 2 08.09.2005 11:59
tabelle in tabelle ohne aussenrand noskule HTML, Usability und Barrierefreiheit 6 25.08.2005 14:17
[Erledigt] Tabelle im DIV-Container zentrieren HTML, Usability und Barrierefreiheit 1 21.04.2005 22:28
[Erledigt] Interne Tabelle (DB Tabelle in Array auslesen) PHP Tipps 2005 10 29.03.2005 17:08
[Erledigt] Tabelle in Tabelle ausrichten HTML, Usability und Barrierefreiheit 7 03.01.2005 14:32
[Erledigt] Ganze Tabelle ausgeben PHP Tipps 2004-2 1 21.11.2004 16:48
Sortieren anhand einer zweiten Tabelle PHP Tipps 2004 6 20.09.2004 09:03
[Erledigt] HILFE: Column count doesn't match value count at row 1 Datenbanken 17 12.06.2004 16:45

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
php table style, php table color, php tabelle style, tabelle php wight, tabelle mit decoration ?, table style zentriert php, tabelle style, kann man eine php tabelle stylen, selfhtml php tabel, php tabellen style, text-decoration tabelle, link styles in tabellen, php tabelle stylen, tabellenstile auf selfhtml, selfhtml table font, { link-color:#000000; }, tabellen styles, tabelle style .php, php table style in php, php style center

Alle Zeitangaben in WEZ +1. Es ist jetzt 21:21 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.