Zum Inhalt springen

tags werden entfernt

Erstellt am 24. Juni 2004 · Noch keine Antworten

Tags: HTML & CSS, Frage

ffr_dev ·

hallo zusammen,
ich möchte meine seite umstellen, aber leider komm ich da nicht weiter.

ich möchte ein horizontales menu erstellen.
aber die ersten beiden cellen sind keine menu einträge:

<tr>
  <td>bla</td>
  <td>bla2</td>
  <td>item1</td>
  <td>item2</td>
  <td>item3</td>
</tr>

wie man in den nachfolgenden code schnipsel sehen kann, wird nach der angabe von id="topmenu1"
gewisse tags entfernt(table, tr, td)

weiss jemand was ich falsch mache, und wie ich den fehler umgehen kann??

html vorlage

<td id="topmenu1" colspan="2">
			<table border="0" cellpadding="0" cellspacing="0" id="topmenu1">
				<tr>			
					<td class="topmenu-no"><a href="#"> @@Kunden@@</a></td>
					<td class="topmenu-act"><a href="#"> @@Informatiker@@</a></td>
					<td class="topmenu-no"><a href="#"> @@Hyparchiv(DMS)@@</a></td>
					<td class="topmenu-no" onmouseover="this.className = 'topmenu-no-Roll'" onmouseout="this.className = 'topmenu-no'"><a href="#">@@PMC Informatik@@</a></td>
				</tr>
			</table>
		</td>

ts template

####################################
# Menu 1 cObject
temp.topmenu1 = HMENU
# First level menu-object, textual
temp.topmenu1.1 = TMENU
temp.topmenu1.1 {
  expAll = 1
  # Normal state properties
  NO.allWrap = <td class="topmenu-no"> | </td>
  # Enable active state and set properties:
  ACT = 1
  ACT.allWrap = <td class="topmenu-act"> | </td>
}

#######################################

generierter html code

  <td id[color=red]="topmenu1[/color]" colspan="2">
    
    <td class="topmenu-no"><a href="index.php?id=6" onfocus="blurLink(this);">Kunden</a></td>
    <td class="topmenu-no"><a href="index.php?id=5" onfocus="blurLink(this);">Informatiker</a></td>
    <td class="topmenu-no"><a href="index.php?id=4" onfocus="blurLink(this);">Hyparchiv(DMS-Software)</a></td>
    <td class="topmenu-act"><a href="index.php?id=2" onfocus="blurLink(this);">PMC Informatik</a></td></td>