CSS Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS Problem

    Hi,

    also erst mal der Code:

    PHP Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    body {
        background-color: #CCCCCC;
    }
    #banner {
    width:963px;
    }
    #news {
    width:961px;
    border-style:solid;
    border-width:1px;
    }
    #left {
    width:150px;
    float:left;
    border-style:solid;
    border-width:1px;
    }
    #right {
    width:150px;
    float:right;
    border-style:solid;
    border-width:1px;
    }
    #content {
    margin-left:155px;
    margin-right:155px;
    border-style:solid;
    border-width:1px;
    }
    -->
    </style>
    </head>

    <body>
    <div style="position:absolute; left:50%; width:963px; margin-left:-481px; padding:0px; text-align:left;">
    <div id="banner"><img src="<?php echo $banner?>"></div>
       <div id="news">
        <marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="5" scrolldelay="90" behavior="alternate" direction="right" height="25" align="center">LAUFSCHRIFT</marquee>
       </div>
             <div id="left"><?php include "menu_links.php"?></div>
             <div id="right"><?php include "menu_rechts.php"?></div>
             <div id="content"><?php include "content.php"?></div>
    </div>
    </body>
    </html>
    Nu das Problem:
    Also ich habe das Problem das um so länger das linke menü wird, der Content weiter nach unten rutscht.
    Aber woran liegt das?
    Im firefox wird es richtig angezeigt aber mal wieder im dooooooofen IE nit.
    Bitte helft mir, Danke.

    MfG
    Nascar

  • #2
    hmm, bei mir nicht. getestet mit IE6.0...

    Gib dem äußersten Div mal nen vertical-align mit top

    Comment


    • #3
      Hi,
      das geht leider auch nicht.
      Ich hab mal nen Screenshot davon gemacht wie es nicht sein soll.



      MfG
      Nascar

      Comment


      • #4
        axo, das kann ich mit deinem code ja nicht ausprobieren. dann wende das gleiche mal auf das content-div an

        Comment


        • #5
          Hi,
          leider ohne erfolg :-(

          MfG
          Nascar

          Comment


          • #6
            Hi,
            habs hinbekommen ;-)
            hab das
            margin-left:155px;
            margin-right:155px
            bei content rausgenommen und nen float:left eingefügt. :-D

            MfG
            Nascar

            Comment


            • #7
              nur mal zum dazulernen

              Float: Die Theorie
              Schattenbaum | SelfHTML | SelfPHP | DrWeb | polygon.studio || Google | Teoma | Forum Suche

              Comment

              Working...
              X