![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| ||||
| ||||
Hallo in die Runde der Schlauen, ich habe in meinem Template 3 Menüs, alles sollen über Css formatiert werden. das Hauptmenü richtet sich nach den Formatierungsrichtlinien für die Schrift. Die anderen 2 Menus ignorieren das zugewiesene Css komplett. ich glaube, ich habe einfach schon Tomaten auf den Augen und finde meinen Fehler nicht. Hier mal der Code: Typoscript-Code:
Code: <!-- Navigation ------------------------------------------------------------------------------->
#navi_container {
position: absolute;
left: 30px;
top: 225px;
width: 200px;
margin-left: 0;
padding-left: 0;
}
#navi_container a:link{
font-family:Verdana;
font-size:11px;
color: #003300;
text-decoration: none;
line-height: 12px;
}
#navi_container a:visited{
font-family:Verdana;
font-size:11px;
color: #003300;
text-decoration: none;
line-height: 12px;
}
#navi_container a:hover{
font-family:Verdana;
font-size:11px;
color: #003300;
background-color: #9acd66;
text-decoration: none;
line-height: 12px;
}
<!-- NAVI breadcrumb -------------------------------->
#navi_breadcrumb{
font-family: Verdana;
font-size: 10px;
font-style: bold;
text-decoration: none;
color: #9acd66;
}
<!-- NAVI oben -------------------------------->
#navi_oben {
position: absolute;
left: 240px;
top: 170px;
font-family: Verdana;
font-size: 11px;
font-style: bold;
text-decoration: none;
color: #ffffff;
} |
|
#2
| ||||
| ||||
| Meiner ANsicht nach, müßte Dein HTML-Quelltext falsch sein: HTML-Code: <div id="navi_container"> <tr><td> ... weiterer Inhalt ... </td></tr> </div> Entweder mußt Du auf die Notation für die Tabellenzellen verzichten, oder ein Table-Tag hinzufügen. Wenn Du das geändert hast und immer noch Probleme hast, poste mal Dein fertiges HTML, ist etwas mühsam sich das aus dem TypoScript-Setup raus zu lesen.
__________________ Viele Grüße David ![]() TYPO3 4.1.6 | Win XP | Apache 2.0.52 | MySQL 4.0.23 | PHP 5.0.3 David Bruchmann - Mediengestaltung www.bruchmann-web.de |
|
#3
| |||
| |||
| Hey, danke, habe die Table tags noch eingefügt und nun hat sich zwar nicht das Positionierungsproblem gelöst, dafür aber ein anderes... an der Navigation, die sich bereits durch das CSS formatieren lässt... ![]() Vielen Dank! Nur die Breadcrumb-Navi und die Navi oben, positionieren sich einfach nicht dahin, wo sie hin sollen... auch übernehmen sie die Schriftformatierung aus dem CSS nicht... |
|
#4
| ||||
| ||||
| Wie gesagt:
__________________ Viele Grüße David ![]() TYPO3 4.1.6 | Win XP | Apache 2.0.52 | MySQL 4.0.23 | PHP 5.0.3 David Bruchmann - Mediengestaltung www.bruchmann-web.de |
|
#5
| |||
| |||
| Hallo, hier der generierte HTML Code. Vielen Dank! Code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_e99aac0be0.css" /> <link rel="stylesheet" type="text/css" href="fileadmin/template/main.css" /> <title>Stadtapotheke Bischofswerda: Stadt Apotheke Bischofswerda</title> <meta name="generator" content="TYPO3 4.1 CMS" /> <script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script> </head> <body> <div id="cont_header"> <img src="fileadmin/template/header.gif" width="1024" height="176" border="0" alt="" title="" /> </div> <div id="cont_trenner1"> <img src="fileadmin/template/trenner.gif" width="4" height="461" border="0" alt="" title="" /> </div> <div id="cont_trenner2"><img src="fileadmin/template/trenner.gif" width="4" height="461" border="0" alt="" title="" /> </div> <div id="navi_container"> <table><tr><td><b><table><tr><td><br/><b> <a href="index.php?id=13" target="_self" onfocus="blurLink(this);" >Unsere Stadtapotheke</a></b><br/></td><tr></table> <table><tr><td><a href="index.php?id=47" target="_self" onfocus="blurLink(this);" >Tradition</a><br/><a href="index.php?id=46" target="_self" onfocus="blurLink(this);" >Leistungen</a><br/><a href="index.php?id=45" target="_self" onfocus="blurLink(this);" >Unser Team</a><br/><a href="index.php?id=44" target="_self" onfocus="blurLink(this);" >Öffnungszeiten</a><br/><a href="index.php?id=43" target="_self" onfocus="blurLink(this);" >Kundenkarte</a><br/><a href="index.php?id=42" target="_self" onfocus="blurLink(this);" >360° Rundblick</a><br/><a href="index.php?id=41" target="_self" onfocus="blurLink(this);" >Lageplan</a><br/></td></tr></table> <table><tr><td><br/><b><a href="index.php?id=26" target="_self" onfocus="blurLink(this);" >Tag der offenen Hinterhöfe</a></b><br/></td><tr></table><table><tr><td><a href="index.php?id=25" target="_self" onfocus="blurLink(this);" >Bildergalerie</a><br/><a href="index.php?id=24" target="_self" onfocus="blurLink(this);" >Geschichte</a><br/></td></tr></table> <table><tr><td><br/><b><a href="index.php?id=23" target="_self" onfocus="blurLink(this);" >Magazin</a></b><br/></td><tr></table><table><tr><td><a href="index.php?id=22" target="_self" onfocus="blurLink(this);" >Wissenswertes</a><br/><a href="index.php?id=21" target="_self" onfocus="blurLink(this);" >Bildergalerie</a><br/></td></tr></table> <table><tr><td><br/><b><a href="index.php?id=20" target="_self" onfocus="blurLink(this);" >Aktuelles</a></b><br/></td><tr></table><table><tr><td><a href="index.php?id=19" target="_self" onfocus="blurLink(this);" >Veranstaltungen</a><br/><a href="index.php?id=18" target="_self" onfocus="blurLink(this);" >Gesundheitstipps</a><br/><a href="index.php?id=17" target="_self" onfocus="blurLink(this);" >Heilpflanze des Monats</a><br/></td></tr></table><table><tr><td><br/><b><a href="index.php?id=16" target="_self" onfocus="blurLink(this);" >Apothekenmuseum</a></b><br/></td><tr></table> <table><tr><td><br/><b><a href="index.php?id=15" target="_self" onfocus="blurLink(this);" >Notdienst</a></b><br/></td><tr></table> </b></td></tr></table> </div> <!-- PROBLEMKIND 1 --!> <div id="navi_oben"> <a href="index.php?id=53" onfocus="blurLink(this);" >Home</a> <a href="index.php?id=52" onfocus="blurLink(this);" >Online-Bestellung</a> <a href="index.php?id=51" onfocus="blurLink(this);" >Kontakt</a> <a href="index.php?id=50" onfocus="blurLink(this);" >Impressum</a> <a href="index.php?id=49" onfocus="blurLink(this);" >Werbegemeinschaft Bischofswerda e.V.</a> </div> <!--PROBLEMKIND 2 --!> <div id="navi_breadcrumb"> <a href="index.php?id=9" onfocus="blurLink(this);" >Stadt Apotheke Bischofswerda</a> > </div> <div id="content_normal_container"></div> <div id="content_border_container"></div> <div id="cont_footer"><img src="fileadmin/template/footer.gif" width="1024" height="146" border="0" alt="" title="" /> </div> </body> </html> |
|
#6
| ||||
| ||||
| Du hast innerhalb von Deinem CSS HTML-Kommentare ( <!-- ... --> ) Das führt zu Fehlern!!! Nimm die Kommentare entweder ganz raus oder ersetze die Begrenzer: "<!--" zu "/*" "-->" zu "*/" statt "<!-- ... -->" sollte dort also "/* ... */" stehen. Falls Du jetzt noch Probleme hast, sag Bescheid und schildere sie noch mal genau. Ergänzung: Deine HTML-Kommentare sind übrigens auch falsch. Du hast geschrieben: <!-- PROBLEMKIND 1 --!> Das funktioniert nicht!!! Schreibe statt dessen <!-- PROBLEMKIND 1 --> Innerhalb des Quelltextes sollten spitze Klammern die als Text angezeigt werden sollen maskiert werden: "<" = < ">" = >
__________________ Viele Grüße David ![]() TYPO3 4.1.6 | Win XP | Apache 2.0.52 | MySQL 4.0.23 | PHP 5.0.3 David Bruchmann - Mediengestaltung www.bruchmann-web.de Geändert von david (27.05.08 um 19:23 Uhr). Grund: Ergänzung |
|
#7
| |||
| |||
| Hi David, vielen Dank, den Kommentarfehler im CSS habe ich gestern abend dann auch schon gefunden... naja... eben Tomaten auf den Augen... ![]() Danach klappt es alles wie es soll!!! Danke für deine Mühen... Die Kommentare im Html-Code hatte ich nur zur kennzeichnung eingefügt... die stehen so falsch nicht wirklich drinnen... Ja, also, vielen Dank... Viele Grüße Aturella |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Richtige CSS-Formatierung des aktiven Menüs | yellowcow | GMENU, HMENU, TMENU und Co. | 1 | 18.01.08 07:26 |
| Gelöst 2 Menüs | easymoments | TYPO3 4.x Fragen und Probleme | 8 | 30.11.07 09:21 |
| Gelöst Einzelne Spalten ignorieren die Spracheinstellungen | Natorion | TYPO3 4.x Fragen und Probleme | 7 | 07.11.07 11:58 |
| indexed_search: Meta-Tags ignorieren? | maxhb | TYPO3 4.x Fragen und Probleme | 0 | 29.08.07 16:24 |
| CSS 2 Menüs | rainmanx | GMENU, HMENU, TMENU und Co. | 4 | 07.06.07 21:29 |