ilch Forum » Allgemein » HTML, PHP, SQL,... » H Login Box 1.1 Final

Geschlossen
  1. #1
    User Pic
    Devil Mitglied
    Registriert seit
    02.02.2006
    Beiträge
    2.094
    Beitragswertungen
    21 Beitragspunkte
    Hallo.
    Ich habe verzweifelt nach einer H Login Box gesucht, die ich auch gefunden habe lachen (Danke Sufu)

    Die ist echt klasse und gut beschrieben.
    Nur hab ich das Problem, dass das was ich in der Style.css schreibe nicht wirklich übernommen wird.

    vtec-boxen_loginh.htm:
    <link rel="stylesheet" type="text/css" href="include/designs/LC-Design_05/style.css">

    Ist drin, sonst geht ja garnichts zwinker

    style.css:
    .hlogin{			z-index: 			0;}
    
    #hlogin {			      			        }     /* position:relative; left:0px; top:10px; */	
     
    .hlogin-name {										
    				z-index:			1;
    				color:				#FFFFFF; 
    				font-family: 			Verdana; 
    				font-size:			11px; 
    				text-decoration: 		none;}
    
    #hlogin-name {							}	/* z-index: 1;	position:relative;	left:196px;	top:142px; color: white;*/	
    
    .hlogin-login{							}
    
    #hlogin-login{ 			z-index: 			1;} 	/* position:relative;	left:px;	top:160px; color: white; */	
    
    #hlogin-screentime{						}	/* color: White; */
    
    .hlogin-screentime {						}	/* z-index: 1;	position:relative;	left:-300px;	top:42px; */
    
    a.hlogin-link:link { 						}	/* color:white; */
    
    a.hlogin-link:visited {  					}	/* color:white; */


    H Login Beschreibung:
    	Classes: wird benutzt um Schriftarten,Farben,Rahmen festzustellen.
    	
    	.hlogin						->Die Gesamte Box
    	.hlogin-name				->Die Anrede Box
    	.hlogin-login				->Login elemente sowie auch regist.
    	.hlogin-screentime		->Screentime
    
    	Ids: wird benutz um die Boxen zu Positionieren.
    	#hlogin						->Die Gesamte Box
    	#hlogin-name				->Die Anrede Box
    	#hlogin-login				->Login elemente sowie auch regist.
    	#hlogin-screentime		->Screentime


    Ich benutze ja ".hlogin-name" , also stimmt das ja eigentlich.

    Textfarbe bleibt schwarz, und wird nicht zu weiß.
    (Jaja ich weiss, ich und mein schwarz. zwinker )
    Was mache ich falsch?


    verwendete ilchClan Version: 1.1


    Zuletzt modifiziert von Devil am 28.02.2009 - 17:09:31
    Wer zuletzt lacht, hat den schlechtesten Ping.
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Devil Mitglied
    Registriert seit
    02.02.2006
    Beiträge
    2.094
    Beitragswertungen
    21 Beitragspunkte
    Hm...?
    Wer zuletzt lacht, hat den schlechtesten Ping.
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Chapter Hall Of Fame
    Registriert seit
    21.10.2007
    Beiträge
    5.951
    Beitragswertungen
    229 Beitragspunkte
    wenn ich mir deinen quelltext anschau, dann ist dort lediglich hlogin-login als class sowie als id angegeben.

      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="hlogin-login" class="hlogin-login"><form method="POST">
          <tr>
            <td nowrap>
    		<input type="text" name="name" size="13" value="Nickname" onFocus="if (value == 'Nickname') {value = ''}" onBlur="if (value == '') {value = 'Nickname'}" maxlength="50" style="margin-top:5px; " /></td>
    
            <td width="5" nowrap>&nbsp;</td>
            <td nowrap><input type="password" size="13" value="ääääääää" onFocus="if (value == 'ääääääää') {value = ''}" onBlur="if (value == '') {value = 'ääääääää'}" maxlength="20" name="pass" style="margin-top:5px; " /></td>
            <td width="5" nowrap>&nbsp;</td>
            <td nowrap>
            <input type="submit" name="user_login_sub" value="Login" style="margin-top:5px; " /></td>
            <td width="5" nowrap>&nbsp;</td>
            <td align="center" nowrap></td>
          </tr>
          	  </form>
    
        </table>


    und in deiner css :
    .hlogin-login{                            }
    
    #hlogin-login{             z-index:             1;}


    du siehst, nix definiert...
    Spamming, sinnlose Beiträge, Pushing, Doppelposting und Werbung sind verboten
    externer Link
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Devil Mitglied
    Registriert seit
    02.02.2006
    Beiträge
    2.094
    Beitragswertungen
    21 Beitragspunkte
    ?
    Was für ein Quelltext hast du da genommen?
    vtec-boxen_loginh.htm:
    <link rel="stylesheet" type="text/css" href="include/templates/user/vtec-boxen_loginh.css">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" class="hlogin" id="hlogin">
      <tr>
        <td align="center" valign="top" nowrap>
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="hlogin-name" class="hlogin-name">
          <tr>
            <td nowrap>{TAGZEIT}</td>
            <td nowrap width="5"></td>
            <td nowrap>{NAME}</td>
          </tr>
        </table>
        </td>
        <td width="5" align="center" valign="top" nowrap>&nbsp;</td>
        <td align="center" valign="top" nowrap class="hlogin-message">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" class="hlogin-login" id="hlogin-login">
          <tr>
            <td align="center" nowrap>{NACHRICHTEN}</td>
            <td width="5" align="center" nowrap>|</td>
            <td align="center" nowrap>
    	  <a class="hlogin-link" href="index.php?user-3">{_lang_logout}</a></td>
            <td width="5" align="center" nowrap>|</td>
            <td align="center" nowrap>
            <p align="center">
            <a class="hlogin-link" href="index.php?user-8">{_lang_profil}</a>|
            </td>
            <td width="5" align="center" nowrap>&nbsp;</td>
            <td align="center" nowrap>{ADMIN}</td>
          </tr>
        </table>
        </td>
        <td width="100%" align="center" valign="top" nowrap>&nbsp;</td>
        <td align="center" valign="top" nowrap class="hlogin-screentime">
    	  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" class="hlogin-screentime" id="hlogin-screentime">
            <tr>
              <td width="100%" nowrap>
    	  {SCREENTIME}</td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    {EXPLODE}
    <link rel="stylesheet" type="text/css" href="include/templates/user/vtec-boxen_loginh.css">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" class="hlogin" id="hlogin">
      <tr>
        <td align="center">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="hlogin-name" class="hlogin-name">
          <tr>
            <td nowrap>{TAGZEIT}</td>
            <td width="5" nowrap>&nbsp;</td>
            <td nowrap>Besucher</td>
          </tr>
        </table>
        </td>
        <td align="center" valign="top">&nbsp;</td>
        <td align="center">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="hlogin-login" class="hlogin-login"><form method="POST">
          <tr>
            <td nowrap>
    		<input type="text" name="name" size="13" value="{NAME}" onFocus="if (value == '{NAME}') {value = ''}" onBlur="if (value == '') {value = '{NAME}'}" maxlength="50" style="margin-top:5px; " /></td>
            <td width="5" nowrap>&nbsp;</td>
            <td nowrap><input type="password" size="13" value="{PASS}" onFocus="if (value == '{PASS}') {value = ''}" onBlur="if (value == '') {value = '{PASS}'}" maxlength="20" name="pass" style="margin-top:5px; " /></td>
            <td width="5" nowrap>&nbsp;</td>
            <td nowrap>
            <input type="submit" name="user_login_sub" value="Login" style="margin-top:5px; " /></td>
            <td width="5" nowrap>&nbsp;</td>
            <td align="center" nowrap>{regist}</td>
          </tr>
          	  </form>
        </table>
        </td>
        <td align="right" valign="top" width="100%">&nbsp;</td>
        <td align="right">
        <div align="center">
          <center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" class="hlogin-screentime" id="hlogin-screentime">
            <tr>
              <td width="100%" nowrap>
    	  {SCREENTIME}</td>
            </tr>
          </table>
          </center>
        </div>
        </td>
      </tr>
    </table>


    Da ich hlogin-name (Guten Tag Besucher / *NAME*) weiß haben will, muss ich eben auch in der CSS auch nur .hlogin-name deklarieren?


    Zuletzt modifiziert von Devil am 28.02.2009 - 20:47:40
    Wer zuletzt lacht, hat den schlechtesten Ping.
    0 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    Chapter Hall Of Fame
    Registriert seit
    21.10.2007
    Beiträge
    5.951
    Beitragswertungen
    229 Beitragspunkte
    wie wäre es denn wenn du es einfach ausprobierst anstatt erstmal zu fragen und zu warten das irgendeiner hier ja oder nein schreibt. ich denke mal du hast jetzt genug hilfe bekommen. es gibt viele seiten im netz, auf denen man sich informieren kann über css usw. so schwer ist das nicht und learning by doing war noch nie schlecht. du hast doch die möglichkeit des backups. nutz diese doch einfach mal, und probier wild rum. wenn du eine datei zerschießt, kannst du das backup einspielen und bist wieder auf anfang. so haben wir das auch alle mal gemacht und viele machen es heute auch noch so.
    Spamming, sinnlose Beiträge, Pushing, Doppelposting und Werbung sind verboten
    externer Link
    0 Mitglieder finden den Beitrag gut.
  6. #6
    User Pic
    Devil Mitglied
    Registriert seit
    02.02.2006
    Beiträge
    2.094
    Beitragswertungen
    21 Beitragspunkte
    Jop, ich weiss.
    Habs nun gelöst.
    Danke trotzdem.
    Wer zuletzt lacht, hat den schlechtesten Ping.
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu HTML, PHP, SQL,...

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten