Zum Inhalt springen

class bei Tabelle devinieren

Erstellt am 26. September 2005 · 2 Antworten · letzte Antwort am 10. Oktober 2005

Tags: Frage

brunzdulb ·

Hallo,

ich habe bei meiner Intranet-Seite ein CSS-File eingebunden, mit dem alle Tabellen einen Border bekommen. Nur bei einer Tabelle ist dieser Rand stoerend (siehe Bild - Tabelle unter Headline Intranet).

Link zum BILD

Diese eine Tabelle soll nun das class="noBorder" bekommen, nur weis ich leider nicht wo im TS ich dies bei dieser Tabelle definiere.

Kann mir dabei jemand helfen? Waere wirklich weltklasse!

<body>
<div class="headline">Intranet</div><div class="subline"></div><tr><td colspan="2" bgcolor="#666666"><img src="clear.gif" width="1" height="2" border="0" alt="" /></td></tr>
<table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2"><img src="clear.gif" width="1" height="10" alt="" title="" /></td></tr><tr><td><img src="clear.gif" height="1" width="10" alt="" title="" /></td><td><img src="clear.gif" height="1" width="500" alt="" title="" /></td></tr></table>
</body>
left {
  #stylesheet = left_stylesheet*.css
  headerData.10 = TEXT 
  headerData.10.value = <link rel="stylesheet" type="text/css" href="/css/left_stylesheet.css" />
  bodyTag = <body>
  bgImg >
  70 >
  75 >
  80 >
  95 >
  noLinkUnderline >
  90.value = <div class="navi">
  110.value = </div>
  typeNum = 2
  100 = HMENU
  100 {
    special = directory
    special.value = 1
    1 = TMENU
    1 {
      wrap >
      NO {
        doNotLinkIt = 1
        before.cObject = TEXT
        before.cObject.field = uid
        before.cObject.dataWrap = <div class="big"><a href="index.php?id=|&type=1" target="page" class="big">
        after.cObject = TEXT
        allWrap >
        after.cObject.value = 
        after.cObject.wrap = |</a></div>
        linkWrap >
        beforeWrap >
      }
    }
  
    2 = TMENU
    2 {
      noBlur = 1
      wrap >
      NO {
        doNotLinkIt = 1

        before.cObject = TEXT
        before.cObject.field = uid
        before.cObject.dataWrap = <div class="small"><a href="index.php?id=|&type=1" target="page" class="small">
        after.cObject = TEXT
        after.cObject.value = 
        after.cObject.wrap = |</a></div>
        RO >
        beforeImgTagParams >
        beforeROImg >
        beforeImg >
        linkWrap >
        beforeWrap >
        linkWrap >
      }
    }
  }
}

page.bodyTag = <body>
page {
  #stylesheet = stylesheet*.css
  headerData.10 = TEXT 
  headerData.10.value = <link rel="stylesheet" type="text/css" href="/css/stylesheet.css" />
  10 {
    20.c.30 >
    wrap >
    1 {
      1 >
      wrap >
      5.wrap = <div class="headline">|</div>
      10 >
      15.wrap = <div class="subline">|</div>
      20 >
    }
    15 >
    30 >
  }
}



// Wirft das CLEAR.GIF raus
tt_content.image.20.spaceBelowAbove = 0
tt_content.header.stdWrap.space = 0|0
tt_content.stdWrap.space = 0|0
tt_content.stdWrap.spaceBefore = 0
tt_content.stdWrap.spaceAfter = 0
lib.stdheader.stdWrap.space = 0|0

// Und hier wird das CLEAR.GIF hinter den Überschriften rausgenommen
tt_content.text.20.parseFunc.tags.typohead.stdWrap.space = 0|0

// Folgender Code löscht das Margin 0 0 0 0 aus dem P Tag
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
P.style=
}

// Unterdrückt den Umbruch mit <br />
lib.stdheader.10.stdWrap.wrap = |

# entfernt 1-pixel clear.gif über jedem Bild mit Text
tt_content.textpic.20.noStretchAndMarginCells = 1
# entfernt 1-pixel clear.gif über jedem Bild
tt_content.image.20.noStretchAndMarginCells = 1

plugin.tx_veguestbook_pi1._CSS_DEFAULT_STYLE >
Organic ·

Hi Brunzdulp,

ist das hier noch aktuell?

<body>
<div class="headline">Intranet</div><div class="subline"></div><tr><td colspan="2" bgcolor="#666666"><img src="clear.gif" width="1" height="2" border="0" alt="" /></td></tr>
<table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2"><img src="clear.gif" width="1" height="10" alt="" title="" /></td></tr><tr><td><img src="clear.gif" height="1" width="10" alt="" title="" /></td><td><img src="clear.gif" height="1" width="500" alt="" title="" /></td></tr></table>
</body>

ändern in:

<body>
<div class="headline">Intranet</div><div class="subline"></div><tr><td colspan="2" bgcolor="#666666"><img src="clear.gif" width="1" height="2" border="0" alt="" /></td></tr>
<table border="0" cellspacing="0" cellpadding="0">
 <tr>
   <td colspan="2" style="border: 0px solid #FFFFFF;"><img src="clear.gif" width="1" height="10" alt="" title="" />
   </td>
  </tr>
  <tr>
    <td style="border: 0px solid #FFFFFF;"><img src="clear.gif" height="1" width="10" alt="" title="" />
    </td>
    <td style="border: 0px solid #FFFFFF;"><img src="clear.gif" height="1" width="500" alt="" title="" />
    </td>
  </tr>
</table>
</body>

So sollte der Rahmen weg sein, habs allerdings nicht getestet.

Gruß
Maik

brunzdulb ·

Hallo, danke fuer deine Antwort leider kenne ich mich mit HTML & CSS schon gut aus und weis auch wodurch der Rahmen entsteht, die Frage ist nur wo ich das im Typo-Script aendere?! :-/