Zum Inhalt springen

(Kleine) Probleme mit Bildern

Erstellt am 8. Juli 2005 · Noch keine Antworten

Tags: Bilder, HTML & CSS, Frage

ex-kali-bur ·

Hallo,
Edit: Typo 3.8
in Kürze:

1) wie bekomme ich beim erstellen/editieren des Seiteninhalts den Block "Click a dummy image to select it:" weg?

2) wenn ich dann ein Bild einfüge sieht der Sourcecode wie folgt aus:

<img src="clear.gif" width="1" height="6" border="0" class="spacer-gif" alt="" title="" />
<br />
<div style="text-align:center;">
	<table width="143" border="0" cellspacing="0" cellpadding="0" class="imgtext-table">
		<tr>
			<td colspan="1">
				<img src="clear.gif" width="143" height="1" alt="" />
			</td>
		</tr>
		<tr>
			<td valign="top">
				<img src="bild.jpg" width="143" height="160" border="0" align="top" alt="" title="" />
				<br />
			</td>
		</tr>
	</table>
</div>

Das entsprechende TS sieht so aus:

temp.blocksLeft = CONTENT
temp.blocksLeft {
	table = tt_content
	select {
		where = colPos = 1
		orderBy = sorting
	}
	renderObj < tt_content
	renderObj {
		stdWrap.wrap2 = <table border="0" cellspacing="0" cellpadding="0" style="width: 145px; align: left; margin-right: 5px; margin-bottom: 10px;"> | </table>
		stdWrap.wrap = |</td></tr>
		image.20.maxW = 143
		image.20.maxWInText = 143
	}
styles.content.imgtext.colSpace = 0
styles.content.imgtext.rowSpace = 0
styles.content.imgtext.textMargin = 0
	renderObj.stdWrap.required = 1
}

2a) Wie bekomme ich Zeile 1+2 im HTML-Sourcecode weg?
2b) Wie kann ich dem DIV in Zeile 3 einen "margin: 0px;" geben, damit der IE nicht mehr seine ~5px rechts und link eigenmächtig hinzufügt?

Danke