tutorials.de Buch-Aktion 05/2012
ERLEDIGT
NEIN
ANTWORTEN
1
ZUGRIFFE
499
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
AUF DIESES THEMA
ANTWORTEN
  1. #1
    Monika_86 Monika_86 ist offline Grünschnabel
    Registriert seit
    Oct 2010
    Beiträge
    4
    Hallo, weiß nicht mehr weiter****** Meine mindesthöhe funktioniert nicht: soll an das login-div angepasst sein!! Hier ist mein code:
    HTML:

    PHP-Code:
    <div id="outside">
    <
    a name="top"></a>
    <
    div id="login_bg_top">
    </
    div>
    <
    div id="login_bg_lower">
    </
    div>
    <
    div id="login_outer">
    <
    div id="login_top_left"></div>
    <
    div id="login_top"></div>
    <
    div id="login_top_right"></div>
    <
    div id="login"></div>
    <
    div id="login_bottom_left"></div>
    <
    div id="login_bottom"></div>
    <
    div id="login_bottom_right"></div>
    <
    div id="login_reflection"></div>

    </
    div>
    </
    div
    CSS:

    PHP-Code:
    * {
    margin:0;
    padding:0;
    }

    a{
    color:#fff;
    font-size:10px;
    margin-left:-230px;
    }

    body {
    font-family:ArialVerdanaHelveticasans-serif;
    font-size:11px;
    margin:0;
    padding:0;
    }

    h3 {
    color:#800020;
    font-size:12px;
    margin-bottom:10px;
    text-decoration:underline;
    }

    htmlbody {
    height:100%;
    text-align:center;
    width:100%;
    }

    inputselect {
    font-size:9px;
    }

    {
    margin-left:20px;
    padding-top:10px;
    }

    #errmsg{
    color:#730222;
    font-size:12px;
    font-weight:bold;
    height:30px;
    margin-left:-20px;
    }

    #form_login{
    margin-top:65px;
    margin-left:35px;
    padding:0;
    }

    #header {
    height:64px;
    min-width:800px;
    width:100%;
    }

    #login_bg_lower {
    background-repeat:repeat-x;
    background:url('../img/bg_login_lower.png');
    height:300px;
    width:100%;
    }

    #login_bg_top {
    height:40%;
    }

    #login_bottom_left{
    background:url('../img/login_bottom_left.png');
    float:left;
    height:20px;
    width:19px;
    }

    #login_bottom_right{
    background:url('../img/login_bottom_right.png');
    float:left;
    height:20px;
    width:19px;
    }

    #login_bottom{
    background-color:#adacad;
    float:left;
    height:20px;
    width:371px;
    }

    #login_outer{
    height:300px;
    left:50%;
    margin-left:-204px;
    margin-top:-150px;
    position:absolute;
    top:40%;
    width:409px;
    }

    #login_reflection{
    background:url('../img/login_reflection.png');
    float:left;
    height:73px;
    margin-top:5px;
    width:409px;
    }
    #login_top_left{
    background:url('../img/login_top_left.png');
    float:left;
    height:20px;
    width:19px;
    }

    #login_top_right{
    background:url('../img/login_top_right.png');
    float:left;
    height:20px;
    width:19px;
    }

    #login_top{
    background:url('../img/login_top.png');
    float:left;
    height:20px;
    width:371px;
    }

    #login{
    background-repeat:repeat-x;
    background:url('../img/bg_login.png'repeat-#adacad;
    float:left;
    height:260px;
    width:409px;

    }

    #logo_login{
    float:left;
    margin-left:35px;
    }

    .
    button {
    padding-bottom:0px;
    padding-left:5px;
    padding-right:5px;
    padding-top:0px;
    font-size:14px;
    margin-right:28px;
    }

    .
    h3 {
    color:#666;
    font-size:12px;
    font-weight:bold;
    }

    .
    input_text {
    background-position:top;
    background-repeatno-repeat;
    background-color#fff;
    background-imageurl(../img/input_bg.png);
    font-size:16px;
    height:24px;
    width:200px;
    margin-right:30px;
    }
    .
    label_login {
    width:120px;
    font-size:16px;
    padding-right:10px;

    Hoffe könnt mir helfen****** Danke******
     

  2. #2
    csstypo Tutorials.de Gastzugang
    Zitat Zitat von Monika_86 Beitrag anzeigen
    Meine mindesthöhe funktioniert nicht: soll an das login-div angepasst sein!! Hier ist mein code:


    Hoffe könnt mir helfen
    Bedingt, denn min-height kann ich dort nirgends ausfindig machen, und #login besitzt eine absolute height-Regel.

    Bei dem Überschuß an float-Regeln fehlen zunächst mal diverse clear-Regeln, um den Umfluß ordnungsgemäß zu beenden.

    Webmaster FAQ -> [CSS] Warum passt sich die Boxenhöhe nicht dem Inhalt an?
     

Ähnliche Themen

  1. Div-Box: height:100% funktioniert nicht
    Von einfach nur crack im Forum CSS
    Antworten: 3
    Letzter Beitrag: 19.10.08, 00:24
  2. Height 100% will nicht
    Von sufijen im Forum CSS
    Antworten: 6
    Letzter Beitrag: 24.07.08, 09:16
  3. CSS-Layer height:100%; (funktioniert nicht)
    Von Fabian Frank im Forum CSS
    Antworten: 8
    Letzter Beitrag: 22.03.08, 09:02
  4. min-height funktioniert nicht im IE
    Von harderph im Forum CSS
    Antworten: 1
    Letzter Beitrag: 16.02.08, 10:29
  5. Antworten: 4
    Letzter Beitrag: 03.12.04, 15:19