Zum Inhalt springen

Hintergrund bei CUR funkt nicht im Microsoft Internet Explorer

Erstellt am 5. Dezember 2005 · 4 Antworten · letzte Antwort am 6. Dezember 2005

Tags: HTML & CSS, Frage, TYPO3 3

ron9999 ·

Ich versuche den Menupunkt der Seite, die angezeigt wird (CUR) mit bgrcolor in einer anderen Farbe zu markieren. Das funkt auch im mozilla und MSI, aber nur im Level 1 im Level 2 geht es nur im mozilla aber nicht mit MSI.
Kann mir bitte jemand sagen wie ich im css die Einstellung ändern muss?
Danke im Voraus

es geht um:

# VMENU 
marks.VMENU = HMENU
marks.VMENU {
   special = directory
   special.value = 7
   entryLevel = 1
   1 = TMENU
   1 {
      noBlur = 1
      wrap = <ul class="ullevel1">|</ul>
      NO = 1
      NO.linkWrap = <li class="level_1_NO">|</li>
      IFSUB=1
      IFSUB.linkWrap=<li class="level_1_SUB">|</li>
      CUR = 1
      CUR.linkWrap = <li class="level_1_CUR">|</li>
      ACT = 1
      ACT.linkWrap = <li class="level_1_NO">|</li>
      CURFSUB = 1
      CURIFSUB.linkWrap = <li class="level_1_NO">|
      } #1
      2 <.1
      3 <.2
   }  #marks.VMENU
.ullevel1
{
  list-style: none;
  margin: 0;
  padding: 0;
/*  background-color: #00000;*/
}
.level_1_SUB a:link, .level_1_SUB a:visited
{
   background: url("../images/plus.gif");
   background-repeat: no-repeat;
}
 
.level_1_SUB a:hover
{
   color: #FFFFFF;
}
.level_1_CUR 
{
   color: #FFFFFF;
   background-color: #00FF66;
}
Liberation ·

Poste doch bitte mal deine HTML Ausgabe.

Dein TS passt auch nicht 100%tig glaub ich.
So sollte es richtig sein:

(Ausschnitt)

1 = TMENU
1.noBlur = 1
1.wrap = <ul class="ullevel1">|</ul>
1.NO = 1
1.NO.linkWrap = <li class="level_1_NO">|</li>
1.ACT = 1
1.ACT.linkWrap = <li class="level_1_ACT">|</li>
1.ACTIFSUB = 1
1.ACTIFSUB.linkWrap = <li class="level_1_ACT">|
1.CUR = 1
1.CUR.linkWrap = <li class="level_1_ACT">|</li>
1.CUR.doNotLinkIt = 1
1.CURIFSUB = 1
1.CURIFSUB.linkWrap = <li class="level_1_ACT">|
1.CURIFSUB.doNotLinkIt = 1
usw...

ergibt XHTML1.1 valide code..
seite zum gucken:
www.herzing-schroth.alpha103.server4you.de //im bau

sollte easy problem sein mit dem bg

ron9999 ·

danke Liberation,
hier die HTML Ausgabe wenn ich das ein Untermenu aufrufe mit MSI
lg
ron

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!--
This website is brought to you by TYPO3 - get.content.right
TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2005 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://www.typo3.com
-->

<link rel="stylesheet" type="text/css" href="fileadmin/template/main/res/temp2h3c1f.css" />
<title>Unser Team</title>
<meta name="generator" content="TYPO3 3.8 CMS" />
<meta name="AUTHOR" content="Ronald Weinrich" />
<meta name="DESCRIPTION" content="Hier steht eine Beschreibung" />
<script type="text/javascript">
/*<![CDATA[*/
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
// Blurring links:
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}

// -->
/*]]>*/
</script>

<script type="text/javascript">
/*<![CDATA[*/
<!--
function openPic(url,winName,winParams) { //
var theWindow = window.open(url,winName,winParams);
if (theWindow) {theWindow.focus();}
}

// -->
/*]]>*/
</script>

</head>
<body bgcolor="#FFFFFF">

<div id="wrapper">
<div id="masthead">
<img src="typo3temp/GB/7567c2b30e.gif" width="770" height="100" border="0" alt="" title="" />
</div>
<div id="globalNav">
###MENU_OBEN###
</div>

<div id="navBar">
<div id="sectionLinks">
<ul class="ullevel1"><li class="level_1_NO"><a href="index.php?id=19">Home</a></li><li class="level_1_NO"><a href="index.php?id=16">Profil</a></li><li class="level_1_NO"><a href="index.php?id=18">Ordinationszeiten</a></li><li class="level_1_NO"><a href="index.php?id=15">Die Praxis</a></li><ul class="ullevel1"><li class="level_1_CUR"><a href="index.php?id=33">Unser Team</a></li></ul><li class="level_1_SUB"><a href="index.php?id=17">Leistungsspiegel</a></li><li class="level_1_NO"><a href="index.php?id=13">Der Weg zu uns</a></li><li class="level_1_NO"><a href="index.php?id=12">Info f. Patienten</a></li><li class="level_1_NO"><a href="index.php?id=11">Links</a></li></ul>

<!-- start-->
<!-- ende-->

</div>
</div>
<!--end navBar div -->
<div id="headlines">

</div>
<!--end headlines -->
<div id="content">
<div class="feature">
<a name="3"></a><font face="verdana" size="3"><b>Unser Praxisteam</b></font><br /><img src="clear.gif" width="1" height="5" border="0" class="spacer-gif" alt="" title="" /><br /><table width="161" border="0" cellspacing="0" cellpadding="0" align="right" class="imgtext-table"><tr><td rowspan="3" valign="top"><img src="clear.gif" width="10" height="1" alt="" title="" /></td><td colspan="1"><img src="clear.gif" width="150" height="1" alt="" /></td></tr><tr><td valign="top"><a href="#" onclick="openPic('showpic.php?file=uploads%2Fpics%2FdasTeam.jpg&amp;width=800m&amp;height=600m&amp;bodyTag=%3Cbody%20bgcolor%3D%22black%22%3E&amp;wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&amp;md5=1d95f56957cb682a52912145b59a15ee','thePicture','width=469,height=352,status=0,menubar=0'); return false;"><img src="typo3temp/pics/ed3a93ab21.jpg" width="150" height="111" border="0" align="top" alt="" title="" /></a><br /></td></tr><tr><td colspan="1" align="right"><img src="clear.gif" width="1" height="5" border="0" class="spacer-gif" alt="" title="" /><br /><div style="text-align:left;"><font face="verdana" size="1"><b>Anddrea Felsinger, Michaela Pjer, Gabriele Schimbach, Elisabetz Schirk<br />
klicken sie auf das Bild um es zu vergrößern.</b></font></div><br /></td></tr></table><p style="margin:0 0 0 0;"><b> </b></p>
<p style="margin:0 0 0 0;"><b>Sie sind Ihr erster Ansprechpartner bei der telefonischen Termin- vereinbarung und bei allen Fragen der Praxisorganisation.
</b></p>
<p style="margin:0 0 0 0;"><b> </b></p>
<p style="margin:0 0 0 0;"><b>Gabriele Szakolzcai
</b></p>
<p style="margin:0 0 0 0;"><b>Reinigunskraft</b></p><img src="clear.gif" width="1" height="10" border="0" class="spacer-gif" alt="" title="" /><br />
</div>
</div>
<!--end content -->
<div id="footer">
<a href="#">Profil</a> | <a href="#">Site
Map</a> | <a href="#">AGB</a> | <a href="#">Kontakt</a> | ©2003
Dr. Schimbach --

Letzte Änderung:03.12.2005
</div>
</div>

</body>
</html>
<!-- Cached page generated 05/12 2005 18:50. Expires 06/12 2005 18:50 -->
<!-- Parsetime: 197 ms-->

Liberation ·

Hi,
Jetzt hast du ja mein TS benutzt.
HTML stimmt also, jetzt liegt es nur noch am css.
cur müsstest du dann so ansprechen "LI.level_1_CUR"