calconeon: Rahmen

Hi,

wie kann ich in folgendem Code verhindern, dass der Rahmen mitten durch den Text geht im FF? Er soll natürlich erst am Schluss kommen.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>testseite</title>
</head>
<body style="border:1px solid">
<div style="float:right;width:700px">
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text text text
</div>
<div>
  <ul>
   <li>Menü 1</li>
   <li>Menü 2</li>
   <li>Menü 3</li>
  </ul>
</div>
</body>
</html>

Dankeschön!

MfG Ronny

  1. hi,

    wie kann ich in folgendem Code verhindern, dass der Rahmen mitten durch den Text geht im FF? Er soll natürlich erst am Schluss kommen.

    <body style="border:1px solid">
    <div style="float:right;width:700px">

    in dem du dich darüber informierst, welche auswirkung float auf den elementfluss hat, und was man in diesem falle dagegen tun kann.
    stichwort: clear.

    gruß,
    wahsaga

    --
    "Look, that's why there's rules, understand? So that you _think_ before you break 'em."
  2. Hallo!

    Hi,

    wie kann ich in folgendem Code verhindern, dass der Rahmen mitten durch den Text geht im FF? Er soll natürlich erst am Schluss kommen.

    Indem du dem Body auch ein float und eine Breite gibst.

    700 px Breite für dein Inhalts-div ist auch nicht besonder ideal. Nimm besser %.
    Natürlich nicht 700%. ;-)

    Grüße
    saltun