Ebay Angebotsseite
maronics
- html
Mein Problem ist, dass ein Inserat immer ein Stück rechts von der Seite zum scrollen herausschaut, weil links die Shopleiste ist.
Mein Code sieht so aus:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="Last-Modified" content="Fri, 7 Aug 2009 11:15:54 GMT"><meta http-equiv="Expires" content="Sat, 7 Aug 2010 11:15:54 GMT"></head><body id="body">
<!-- Begin Description --><body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" bgcolor="#FFFFFF">
<style>
.top1 {
font-family:Verdana,Arial,Helvetica;
Font-Size:10pt;
color: #FFFFFF;
FILTER: DropShadow(color=#000000, offx=1, offy=1);
WIDTH: 100%
}
.font4 {
font-family:Verdana,Arial,Helvetica;
Font-Size:9pt;
color: #FFFFFF;
}
A:link {
COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; TEXT-DECORATION: none
}
A:active {
COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
COLOR: #FFFFFF; TEXT-DECORATION: none
}
A.farbe1:link {
COLOR: #FFFFFF; TEXT-DECORATION: none
}
A.farbe1:visited {
COLOR: #FFFFFF; TEXT-DECORATION: none
}
A.farbe1:active {
COLOR: #FFFFFF; TEXT-DECORATION: none
}
A.farbe1:hover {
COLOR: #BBBBBB; TEXT-DECORATION: none
}
A.farbe2:link {
COLOR: #808080; TEXT-DECORATION: none
}
A.farbe2:visited {
COLOR: #808080; TEXT-DECORATION: none
}
A.farbe2:active {
COLOR: #808080; TEXT-DECORATION: none
}
A.farbe2:hover {
COLOR: #CCD7E3; TEXT-DECORATION: none
}
</style>
<table width="790" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="http://img44.imageshack.us/img44/3984/nix.gif" height="10" width="1"></td>
</tr>
<tr>
<td><div align=center><img src="hier wäre ein banner." width="700"></td>
</tr>
<tr>
<td align="center"><br>
<table cellspacing="0" cellpadding="0" border="0" width="600">
<tr>
<td><img src="http://img29.imageshack.us/img29/376/box1b.gif" alt="" border="0"></td>
<td background="http://img512.imageshack.us/img512/4659/box2b.gif" width="100%"><span class="top1"><b> <b>Beschreibung</b></td>
<td><img src="http://img252.imageshack.us/img252/1939/box3b.gif" alt="" border="0"></td>
</tr>
<tr>
<td background="http://img185.imageshack.us/img185/8899/box4.gif"> </td>
<td background="http://img43.imageshack.us/img43/6435/box5bkopievinkopie.gif">
<table width="95%" align="center">
<tr>
<td class="font4" style="text-align:justify"><br>
<img src="random bild" width="700">
<br><br><b><font size=2> bla bla <br>
bla bla blabla.</b>
<br />
<br />
<br />
</table>
</td>
<td background="http://img44.imageshack.us/img44/7460/box6.gif"> </td>
</tr>
<tr>
<td><img src="http://img297.imageshack.us/img297/953/box7.gif" alt="" border="0"></td>
<td background="http://img190.imageshack.us/img190/5562/box8.gif"><img src="http://img44.imageshack.us/img44/3984/nix.gif" alt="" width="130" height="1" border="0"></td>
<td><img src="http://img212.imageshack.us/img212/8316/box9.gif" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
<tr><td><img src="http://img44.imageshack.us/img44/3984/nix.gif" height="20" width="1"></td></tr>
<tr><td><img src="http://img44.imageshack.us/img44/3984/nix.gif" height="50" width="1"></td></tr></table><!-- End Description --><!--ud.re`j5664,RcmdId ViewItemDescV4,RlogId p4%60bo7jkrk9%3Fud.re%60j5664-122f612fb6f--></body></html>
Wäre sehr immens wenn mir da jemand weiterhelfen könnte, damit man alles auf einmal sieht.
Hallo,
Mein Problem ist, dass ein Inserat immer ein Stück rechts von der Seite zum scrollen herausschaut, weil links die Shopleiste ist.
wenn's dir um eine ebay-Angebotsseite geht - warum schreibst du dann ein komplettes HTML-Gerüst außenrum? Du willst doch nicht etwa den gesamten Block, den du hier wiedergibst, in das ebay-Template einfügen? Dann hättest du plötzlich ein neues head-Element und ein zweites body-Element *innerhalb* des body.
Es ist schon schlimm genug, wenn man einen style-Block im body notieren muss und so schon gar keine Chance hat, das Ganze valide zu bekommen (nur gut, dass alle verbreiteten Browser das akzeptieren).
<!-- Begin Description --><body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" bgcolor="#FFFFFF">
Nein! Du willst doch ein neues body-Element aufmachen? Weg damit!
<style>
Das type-Attribut fehlt.
.top1 {
font-family:Verdana,Arial,Helvetica;
Font-Size:10pt;
color: #FFFFFF;
FILTER: DropShadow(color=#000000, offx=1, offy=1);
WIDTH: 100%
}
.font4 {
font-family:Verdana,Arial,Helvetica;
Font-Size:9pt;
color: #FFFFFF;
}
A:link {
COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; TEXT-DECORATION: none
}
Für unbesuchte und besuchte Links die gleiche Darstellung? Das ist nicht fein.
<table width="790" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
So - eine Tabelle mit einer Breite von 790px, und da wunderst du dich, dass man horizontal scrollen muss, wenn links noch die Seitenleiste von ebay Platz finden soll?
<tr>
<td><img src="http://img44.imageshack.us/img44/3984/nix.gif" height="10" width="1"></td>
</tr>
Hier fehlt das alt-Attribut zum Bild.
<tr>
<td><div align=center><img src="hier wäre ein banner." width="700"></td>
</tr>
Hier auch.
<td background="http://img512.imageshack.us/img512/4659/box2b.gif" width="100%"><span class="top1"><b> <b>Beschreibung</b></td>
warum zweimal hintereinander <b>?
<table width="95%" align="center">
<tr>
<td class="font4" style="text-align:justify"><br><img src="random bild" width="700">
Wieder kein alt-Attribut.
<br><br><b><font size=2> bla bla <br>
bla bla blabla.</b><br />
<br />
<br />
</table>
Hier fehlt mindestens ein schließendes </td> und ein </tr>. Und was sollen die br-Elemente? Abstände macht man eleganter mit CSS. Es ist auch eigenartig, wenn <br> und <br /> in demselben Dokument auftauchen.
<tr><td><img src="http://img44.imageshack.us/img44/3984/nix.gif" height="20" width="1"></td></tr>
<tr><td><img src="http://img44.imageshack.us/img44/3984/nix.gif" height="50" width="1"></td></tr>
Nochmal zwei fehlende alt zum Schluss.
Wäre sehr immens wenn mir da jemand weiterhelfen könnte, damit man alles auf einmal sieht.
Du darfst halt keine Breite vorgeben, die breiter ist als das Browserfenster des Besuchers.
So long,
Martin