mit .css-tabellen im iexplorer

Dieses Thema im Forum "Webentwicklung" wurde erstellt von GaYlORd, 27. April 2006 .

Schlagworte:
Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 27. April 2006
    Zuletzt von einem Moderator bearbeitet: 15. April 2017
    SErs!

    Also, ich hab mir eine Seite gemacht und die basiert vollständig auf css-tabellen.
    Leider macht mir der iexplorer immer einen Zeilenumbruch in der Navi.

    Also, mit FireFox, so soll es aussehen:

    {bild-down: http://img289.imageshack.us/img289/6752/ffpage6bm.jpg}


    und im Iexplorer, so solls net aussehn!

    iepage3on.jpg
    {img-src: //img248.imageshack.us/img248/7171/iepage3on.jpg}



    Ich hab keine Ahnung warum das kommt.
    Hier der Quellcode für die buttons:

    Code:
     <div id="navi">
     <div class="nav_1"><a href="index.php?saw=news"><img src="images/news.gif" border="0" /></a></div>
     <div class="nav_2"><a href="index.php?saw=bilder"><img src="images/bilder.gif" border="0" /></a></div>
     <div class="nav_3"><img src="images/1px.gif" border="0" /></div> 
     <div class="nav_4"><a href="index.php?saw=videos"><img src="images/videos.gif" border="0" /></a></div>
     <div class="nav_5"><a href="http://www..dl.am"><img src="images/forum.gif" border="0" /></a></div>
     <div class="nav_6"><a href="index.php?saw=gbook"><img src="images/gbook.gif" border="0" /></a></div>
     </div>
    
    meine css-datei:

    Code:
    #navi { width: 900px;
     height: 23px;
     max-height: 23px;
     min-height: 23px;
     max-width: 900px;
     min-width: 900px; 
     } 
    
    .nav_1 { width: 191px;
     height: 23px;
     float: left;
     } 
    .nav_2 { width: 183px;
     height: 23px;
     float: left;
     } 
    .nav_3 { width: 1px;
     height: 23px;
     float: left;
     } 
    .nav_4 { width: 163px;
     height: 23px;
     float: left;
     }
    .nav_5 { width: 163px;
     height: 23px;
     float: left;
     } 
    .nav6 { width: 199px;
     height: 23px;
     float: left;
     }
    
    ich habe noch "um die ganze Seite", einen div-tag mit folgendem inhalt:

    Code:
    #alles { width: 900px;
     height: 657px;
     border: 1px solid grey;
     }
    
    Also, ich glaub es liegt daran, dass ich max. 900px habe. Nur die 6-Navi-Divs sind auch 900px zusammen. Deshalb versteh ich nicht, warum iexplorer so rumspinnt.

    Gruß

    gl
     
  2. 27. April 2006
    Setze doch mal margin und padding auf null, dann sollte das schon anders aussehen.
     
  3. 27. April 2006
    nenn mal in der css datei nav6 in nav_6 um und mach ma das mit dem padding/margin
     
  4. 28. April 2006
    joa, war weil ich nav6 und net nav_6 hatte!
    ich bin so doof!

    danke und gruß

    gl

    p.s.: habt 10er für eure hilfe bekommen!

    /CLOSE
     
  5. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.