Hi, <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Website</title> <style type="text/css"> <!-- .frachtcontainer { padding: 8px; margin-bottom: 8px; } .bereich_mit_linie { background-color: #FF0000; } .illustration { border-top: 1px solid #000000; border-right: #000000; border-bottom: 1px solid #000000; border-left: #000000; float: left; margin-top: 2px; margin-right: 11px; margin-bottom: 11px; margin-left: 0px; } --> </style> </head>
<body> <div class="frachtcontainer"> <div class="bereich_mit_linie"> <h1>Dies ist eine überraschte Überschrift</h1> <div class="illustration"><img src="http://www.yetanotherblog.de/media/2/20041220-santa1.png" alt="Eine Illustration" width="163" height="199"/></div> <p>Und hier gehts wiederrum weiter im Text. Niemand weiß so recht was es beudeten soll - aber eins ist sicher: Es g</p> <div style="clear:both"></div> </div> </div> </body> </html> > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Carsten Wawer > Gesendet: Donnerstag, 1. Dezember 2005 18:16 > An: [email protected] > Betreff: [Coffeehouse] HTML-Problem > > > Hallo miteinander, > > ich habe hier ein HTML-Problem, bei dem ich nicht weiter komme - > aber einer von euch kann mir sicher weiterhelfen. Im angehängten > HTML-Code wird ein DIV geöffnet, das einen Text und ein links > ausgerichtetes Bild beinhaltet. Aber das Div (man beachte die > rote Hintergrundfarbe) passt sich nur am Text - aber nicht am > Bild an. > > Da das Problem in allen Browsern auftritt würde ich fast wetten, > daß ich hier irgendwo einen argen Denkfehler habe. Wer kann ihn > mir nennen? > > Lieben Dank! > Carsten > > -- > HTML-Quelltext: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-1" /> > <title>Website</title> > <style type="text/css"> > <!-- > .bereich_mit_linie { > background-color: #FF0000; > padding: 8px; > margin-bottom: 8px; > } > .illustration { > border-top: 1px solid #000000; > border-right: #000000; > border-bottom: 1px solid #000000; > border-left: #000000; > float: left; > margin-top: 2px; > margin-right: 11px; > margin-bottom: 11px; > margin-left: 0px; > } > --> > </style> > </head> > > <body> > <div class="bereich_mit_linie"> > <h1>Dies ist eine überraschte Überschrift</h1> > <div class="illustration"><img > src="http://www.yetanotherblog.de/media/2/20041220-santa1.png" > alt="Eine Illustration" width="163" height="199"/></div> > <p>Und hier gehts wiederrum weiter im Text. Niemand weiß > so recht was > es beudeten soll - aber eins ist sicher: Es g</p> > </div> > </body> > </html> > > _______________________________________________ > Coffeehouse Mailingliste, Postings senden an: > [email protected] > An-/Abmeldung und Suchfunktion unter: > http://www.glengamoi.com/mailman/listinfo/coffeehouse > _______________________________________________ Coffeehouse Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/coffeehouse
