[HTML] Tabellen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [HTML] Tabellen

    Ich habe folgendes Problem:
    Ich habe eine Tabelle angelegt und die Hindergrundfarbe definiert aber
    jetzt kommen links in der Navigation striche vom Rand aber rules ist auf
    cols eingestellt und die striche möchte ich nicht haben, gibt es da eine möglichkeit?
    PHP Code:
    <table width="100%" bgcolor="#010e49" border="1" bordercolor="#010e49" rules="cols">
      <
    tr>
        <
    td height="29" width="10%" bgcolor="#010e49" align="center"><font size=+1 color="#990000">News 1</font></td>
        <
    td height="580" width="90%" rowspan="18" bgcolor="#7796a6">&nbsp;</td>
      </
    tr>

      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 1</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 2</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 3</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 4</a></td>
      </
    tr>

      <
    tr>
      <
    td height="29" width="10%" bgcolor="#010e49" align="center"><font size=+1 color="#990000">News 2</font></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 5</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 6</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 7</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 8</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#010e49" align="center"><font size=+1 color="#990000">News 3</font></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 9</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 10</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 11</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#010e49" align="center"><font size=+1 color="#990000">News 4</font></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 12</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 13</a></td>
      </
    tr>
      
      <
    tr>
      <
    td height="29" width="10%" bgcolor="#7796a6" align="center" onMouseOver="this.style.backgroundColor='#010e49'" onMouseOut="this.style.backgroundColor='#7796a6'"><a href="">Link 14</a></td>
      </
    tr>

    </
    table
    Danke schon mal im Vorraus!
    Mein Homepage: Click

  • #2
    Mit rules="cols" (cols = columns = Spalten) werden Linien zwischen allen Tabellenspalten gezogen, nicht jedoch zwischen den Zeilen der Tabelle.
    Und dein Code verhält sich anders, oder wie? Hast du auch ein Screenshot oder einen Link?

    Zur Gestaltung von Rahmen empfielht sich im übringen eher CSS.
    [COLOR=darkblue].: 1+1=23 :.[/COLOR]

    Comment


    • #3
      Hier den Screen!
      Die waagrechten striche zwischen den Links hätte ich gerne weg.
      Attached Files
      Mein Homepage: Click

      Comment


      • #4
        PHP Code:
        <table width="100%" cellspacing="0" cellpadding="0"...> 
        gruss
        peter
        Nukular, das Wort ist N-u-k-u-l-a-r (Homer Simpson)
        Meine Seite

        Comment


        • #5
          Danke @ Kropff.
          Mein Homepage: Click

          Comment

          Working...
          X