---
title: "Bild einfügen.. braucht mehr Platz als gewollt"
url: "https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt"
source: "typo3.net"
tags: ["Allgemein","Bilder","Frage","HTML & CSS"]
created: "2004-09-06"
last_reply: "2004-09-08"
replies: 7
solved: false
page: 1
pages: 1
lang: "de"
---

# Bild einfügen.. braucht mehr Platz als gewollt

Allgemein · 7 Antworten · gestartet 2004-09-06

## Eröffnungsbeitrag

**wsammy** · 2004-09-06 · [Beitrag #1](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/1)

Ich habe auf folgender Seite das rechte Bild (MOtorrad) mit einem Platzhalter ###BILD### eingefügt, aber leider geht es nicht ganz an dern Rand.. (oben / unten)

was muss ich machen?

(wenn ich das Bild normal einfüge, ist es direkt am Rand)

<http://www.highschool.ch/schweizer/>

Vielen Dank

Sammy

## Antworten

### [#2](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/2) · wsammy · 2004-09-07

kann mir jemand dabei helfen?

Danke

### [#3](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/3) · jenses · 2004-09-07

schau mal hier :
[/d/13599-wie-bekomme-ich-die-cleargifs-am-ende-vom-text-weg](https://www.typo3.net/d/13599-wie-bekomme-ich-die-cleargifs-am-ende-vom-text-weg)

jenses

### [#4](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/4) · wsammy · 2004-09-07

DAnke!

Hat halbwegs funktioniert.. aber leider hat es oben immer noch einen kleinen Abstand..

wie bekomme ich den weg?

Danke!

### [#5](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/5) · jenses · 2004-09-07

Also, im HTML Quelltext sind diverse clear.gifs und break-Anweisungen, die diese Lücken erzeugen.

Du müßtest mal dein Template und die HTML-Vorlage posten,
um zu sehen, woran es liegen könnte.

viele Grüße
jenses

### [#6](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/6) · wsammy · 2004-09-07

```typoscript
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 marginwidth="0" marginheight="0"><!--###DOKUMENT###-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" background="" 
border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=right bgColor=#ffffff>
      <TABLE height="100%" cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top background=fileadmin/test/bkg.gif><IMG height=14 alt="" 
            src="fileadmin/test/bgk.gif" width=14 border=0></TD></TR></TBODY></TABLE></TD>
    <TD width=5 bgColor=#ffffff>&nbsp;</TD>
    <TD vAlign=top width=750 height="100%">
      <TABLE height="100%" cellSpacing=0 cellPadding=0 width="85%" border=0>
          <TBODY>
            <TR> 
              <TD height=282 rowspan="2" background=fileadmin/test/blue.gif><IMG height=12 
            src="fileadmin/test/blue.gif" width=1></TD>
              <TD><TABLE height="70%" cellSpacing=0 cellPadding=0 width=750 
              border=0>
                  <TBODY>
                    <TR> 
                      <TD colSpan=4 height=5> <DIV align=center><IMG height=57 src="fileadmin/test/pic.jpg" 
                  width=778></DIV></TD>
                    </TR>
                    <TR> 
                      <TD colSpan=4 height=1><IMG height=1 
                  src="fileadmin/test/white.gif" width=12></TD>
                    </TR>
                    <TR> 
                      <TD width=212 bgColor=#0099ff height=11>&nbsp;</TD>
                      <TD width=91 bgColor=#0099ff height=11>&nbsp;</TD>
                      <TD width=516 bgColor=#0099FF height=11> <DIV align=right><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">###PFAD###</font></DIV></TD>
                      <TD width=7 bgColor=#0099FF>&nbsp;</TD>
                    </TR>
                    <TR> 
                      <TD vAlign=top colSpan=4 height="100%"> <TABLE width="100%" height="652" 
                  border=0 cellPadding=0 cellSpacing=0>
                          <TBODY>
                            <TR> 
                              <TD width=199 height=528 rowSpan=3 valign="top"> 
                                <TABLE width="100%" height="182" 
                          border=0 cellPadding=0 cellSpacing=0>
                                  <TBODY>
                                    <TR> 
                                      <TD width="9%" height="23">&nbsp;</TD>
                                      <TD width="91%">&nbsp;</TD>
                                    </TR>
                                    <TR> 
                                      <TD width="10" background="test/trans.gif"><img src="test/trans.gif" width="10" height="1"></TD>
                                      <TD>###MENU###</TD>
                                    </TR>
                                  </TBODY>
                                </TABLE> </TD>
                              <TD width=1 
                        rowSpan=3 background=fileadmin/test/blue.gif><IMG height=12 src="fileadmin/test/blue.gif" 
                        width=1></TD>
                              <TD width="404" rowspan="2" valign="top"> <table width="100%" height="177" border="0" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td height="5">&nbsp;</td>
                                    <td valign="bottom">&nbsp;</td>
                                  </tr>
                                  <tr> 
                                    <td width="34%" height="79"><img 
                        src="fileadmin/test/logo.gif" width=106 height=79 align="top"></td>
                                    <td width="66%" valign="bottom"><div align="left"><font color="#FF0000" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>Fahrschule-Schweizer</strong></font></div></td>
                                  </tr>
                                  <tr> 
                                    <td height="79" colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr> 
                                          <td>&nbsp;</td>
                                          <td>&nbsp;</td>
                                          <td>&nbsp;</td>
                                        </tr>
                                        <tr> 
                                          <td width="20">&nbsp;</td>
                                          <td width="541"><p><font size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>###INHALT###</strong></font><br>
                                            </p></td>
                                          <td width="5"><p>&nbsp; </p>
                                            <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
                                              </font></p></td>
                                        </tr>
                                      </table></td>
                                  </tr>
                                </table></TD>
                              <TD width=221 height=174 valign="top"> <TABLE cellSpacing=0 cellPadding=0 width="100%" 
border=0>
                                  <TBODY>
                                    <TR> 
                                      <TD width=1 background=fileadmin/test/blue.gif 
                            rowSpan=2><IMG height=12 
                              src="fileadmin/test/blue.gif" width=1></TD>
                                      <TD>###BILD###</TD>
                                    </TR>
                                    <TR> 
                                      <TD background=fileadmin/test/bluelr.gif 
                              height=1><IMG height=1 
                              src="fileadmin/test/bluelr.gif" 
                          width=12></TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></TD>
                            </TR>
                            <TR> 
                              <TD height="465" valign="top"><table width="100%" height="93" border="0" cellpadding="0" cellspacing="0">
                                  <tr> 
                                    <td>&nbsp;</td>
                                  </tr>
                                </table></TD>
                            </TR>
                            <TR> 
                              <TD background=fileadmin/test/bluelr.gif colSpan=2 
                        height=1><IMG height=1 src="fileadmin/test/bluelr.gif" 
                        width=12></TD>
                            </TR>
                            <TR> 
                              <TD colSpan=4 height=10> <DIV align=right><font size="1" face="Verdana, Arial, Helvetica, sans-serif">kontakt 
                                  | fahrschule weiterempfehlen | sitemap</font></DIV></TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                    </TR>
                  </TBODY>
                </TABLE> </TD>
              <TD rowspan="2" background=fileadmin/test/blue.gif><IMG height=12 
            src="fileadmin/test/blue.gif" width=1></TD>
            </TR>
            <TR>
              <TD height="1" background="fileadmin/test/bluelr.gif"><img src="fileadmin/test/bluelr.gif" width="12" height="1"></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    <TD width=5 bgColor=#ffffff>&nbsp;</TD>
    <TD vAlign=top bgColor=#ffffff>
      <TABLE height="100%" cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top background=fileadmin/test/bkg.gif><IMG height=14 alt="" 
            src="fileadmin/test/bgk.gif" width=14 
  border=0></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!--###DOKUMENT###--></BODY></HTML>
```

Constants:

```typoscript
# _top als Standardziel für interne Links 
PAGE_TARGET = 
#content.pageFrameObj =

content.wrap.header1 = <font face="verdana" size=3 color="#000000"><b> | </b></font>
styles.content.textStyle.face = Verdana
styles.content.textStyle.size = 1
styles.content.textStyle.color = #000000
styles.content.imgtext.borderColor = #0099FF
styles.content.imgtext.borderThick = 1
content.wrap.header2 = <font face="verdana" size=3 color="#666666"><b> | </b></font>
PAGE_TARGET = top_
PAGE_TARGET = 

#clear.gif's entfernen 
content.headerSpace = 0|0 
content.space = 0|0 

tt_content.stdWrap.space = 0|0 
tt_content.stdWrap.dataWrap = 

tt_content.image.noStretchAndMarginCells = 1 
tt_content.textpic.noStretchAndMarginCells = 1 
tt_content.image.spaceBelowAbove = 0 
tt_content.textpic.spaceBelowAbove = 0
```

VIELEN DANK!!

### [#7](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/7) · jenses · 2004-09-07

Hallo wsammy !

Wenn ich richtig geschaut habe, liegt es am Template.
Der Link, den ich dir gegeben hab, führte unglücklicher weise zu einem nicht so ganz verständlich formulierten Beitrag.

Versuchs mal wie folgt :

ins Template --> Setup :

```typoscript
tt_content.stdWrap.space = 0|0 
tt_content.stdWrap.dataWrap = 
tt_content.image.noStretchAndMarginCells = 1 
tt_content.textpic.noStretchAndMarginCells = 1 
tt_content.image.spaceBelowAbove = 0 
tt_content.textpic.spaceBelowAbove = 0
```

ins Template --> Constants :

```typoscript
content.headerSpace = 0|0 
content.space = 0|0
content.wrap.header1 = <font face="verdana" size=3 color="#000000"><b> | </b></font>
content.wrap.header2 = <font face="verdana" size=3 color="#666666"><b> | </b></font>
styles.content.textStyle.face = Verdana 
styles.content.textStyle.size = 1 
styles.content.textStyle.color = #000000 
styles.content.imgtext.borderColor = #0099FF 
styles.content.imgtext.borderThick = 1
```

Jetzt sollten die unerwünschten Zwischenräume weg sein.

viele Grüße
jenses

### [#8](https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt/8) · wsammy · 2004-09-08

vielen dank!

aber leider ist die Lücke immer noch da.. also genauer gesagt, wenn ich "Txt m/ Bild" oder "Bild" nehme, dann kann man ja einstellen, wo der Text liegt.. und egal wo er liegt,  der weisse Strich ist immer dort, wo der Text sein sollte.. (also oberhalb vom Bild etc..)

Danke!

Sammy

---

Quelle: „Bild einfügen.. braucht mehr Platz als gewollt“, typo3.net, https://www.typo3.net/d/15625-bild-einfuegen-braucht-mehr-platz-als-gewollt
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
