Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

[PHP] Automatischer Zeilenumbruch im DIV-Bereich

  Alt 18. Mär 2007, 19:54
Hi,

Alleeee Jahre wiiieeeder... Oder auch Tage...oder Stunden....
Hier bin ich wieder mit meinem nächsten Problem (Wer nicht fragt bleibt dumm )

Also Styles:

Code:
div.bookentry

  width: 800;
  padding-left: 8px;
  padding-right: 8px;
  padding-top : 4px;
  float: left;
  font-family: "Lucida Blackletter";
}
div.entryoptions
{
  width: 300;
  float: right;
  border-left: 1px groove #000000;
  border-bottom: 1px groove #000000;
  font-family: "Times New Roman";
}
Pro Datenbankeintrag wird nun ein Eintrag erzeugt:

Code:
"<div class=\"bookentry\">
  <div class=\"entryoptions\">
    [b]Von: [/b]<a class=\"user\" href=\"index.php?mode=user&id=" . $userid . "\">" . $row['author'] . "</a>
   </div>"
   . $row['entry'] . "  
</div>"
Das Problem seht ihr hier.
In Worten: Im dritten Eintrag sollen die ddddddddddd's nachdem sie div.entryoptions erreicht haben in die nächste Zeile umgebrochen werden... Ich denke mal ihr versteht was ich meine...

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat