XaraX: Horizontale Balken mit variabler breite

Beitrag lesen

Hallo Marc,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
 <head>
  <meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
  <title></title>
  <style type="text/css" media="screen"><!--
   #Links     { width: 50% }
   #balkengruen  {border-top: 5px solid #77e208; height: 0px }
   #inhalt     {background-color: yellow; float: right; width: 250px; height: 100px }
  --></style>
 </head>

<body>
 <div id="Links">
  <div id="inhalt"> </div>
  <div id="balkengruen"></div>
 </div>
</body>
</html>

bin mir nicht ganz sicher, was Du dort mit dem border veranstalten willst, also habe ich ihn nach oben geklemmt. Das Problem an sich bestand darin, daß IE <div id="balkengruen"> 100% an width zugewisen hat.

Gruß aus Berlin!
eddi