Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 23:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Login Form Verschieben

Discussion on Login Form Verschieben within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1

 
elite*gold: -524
Join Date: Jun 2013
Posts: 222
Received Thanks: 8
Login Form Verschieben

PHP Code:
<head>
<
title>Login Area</title>
</
head>

<
body>
<
body style="background-image:url(bbcode_preview_big_2.jpg)" >
<
form id="form1" name="form1" method="post" action="#">
    <
table width="300" border="0" cellspacing="0" cellpadding="0" height="100" marigin="110" padding="0">
        <
tr>
            <
td><span style="color: red; text-shadow: red 1px 1px 10px;font-weight: bold;">Benutzername</span>:</td>
            <
td><input type="text" name="username" id="username" /></td>
        </
tr>
        <
tr>
            <
td><span style="color: red; text-shadow: red 1px 1px 10px;font-weight: bold;">Passwort</span>:</td>
            <
td><input type="password" name="password" id="password" /></td>
        </
tr>
        <
tr>
            <
td>&nbsp;</td>
            <
td><input type="submit" name="button" id="button" value="Submit" />
            &
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <
input type="submit" name="button" id="button" value="Abbrechen" /></td>
        </
tr>
    </
table>
</
form>
</
body>
</
html
Jemand eine Idee wie ich das nun mittig zentriert bekomme ?
E*Shark is offline  
Old 11/20/2014, 03:07   #2
 
KoKsPfLaNzE's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 731
Received Thanks: 233
mach ein div um das form mit einer breite von x pixeln und geb dem div noch margin "0 auto" um es zuzentrieren.
KoKsPfLaNzE is offline  
Old 11/20/2014, 14:32   #3

 
elite*gold: -524
Join Date: Jun 2013
Posts: 222
Received Thanks: 8
Es soll aber nicht oberhalb zentriert sein, sondern mittig im Bild.
E*Shark is offline  
Old 11/20/2014, 21:11   #4
 
Mikesch01's Avatar
 
elite*gold: 203
Join Date: Sep 2007
Posts: 732
Received Thanks: 190


Gibt mehrere Methoden dafür...aber die Beste finde ich noch immer "Absolute Positioning and Negative Margin"
Mikesch01 is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Animierte Login Form
07/18/2014 - Web Development - 3 Replies
Hallo liebe User, ich habe mir eine Login Seite erstellt, die ich mit den Just-add-water CSS animations (Animate.css) animieren möchte. Den FadeIn habe ich schon eingebunden und es war kein Problem. Ich möchte jetzt aber gerne noch die Login Maske "ausfaden" lassen, wenn man den Login Button drückt. Nur ich habe keine Idee, wie ich das Anstellen könnte. Ist das mit einem OnClick event beim Button möglich? Meine Loginmaske. Ich füge einen Teile des Sourcecodes bei: <?php // *** Validate...
[VB] Form verschieben Formboarderstyle = None
03/07/2012 - .NET Languages - 11 Replies
Wie lautet der code zum verschieben einer Form, wenn Formboarderstyle = None ist? Habe eine Imagebox als Form, da meine Form transparent ist. Kennt jemand den Code? Es ist auf jedenfall nicht der gleiche, wie als wenn man einfach nur formboarderstyle auf "none" setzt.
I Need help in php login form =/
10/01/2011 - SRO Private Server - 3 Replies
this is my code. <?php if(!$_SESSION){ ?> <form> <input name="username" id="StrUserID" class="logincamp" placeholder="Username" onblur="this.style.opacity='1'" onfocus="this.style.opacity='0.75'" type="text"> <input name="password" id="password" class="logincamp" placeholder="Password" onblur="this.style.opacity='1'" onfocus="this.style.opacity='0.75'" type="password"> <input name="login" value=""...
:S Form in einer Combo (left,hight, ...) verschieben
08/18/2011 - AutoIt - 10 Replies
Hilfe bitte warum geht des net ? Fehler liegt in zeile 112 - 155 #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("° Support ° ", 354, 435, 661, 227, BitOR($WS_SYSMENU,$WS_POPUP,$WS_POPUPWINDOW,$WS_BO RDER,$WS_CLIPSIBLINGS))
[Frage]Login Fenster Verschieben?
08/30/2010 - Metin2 Private Server - 2 Replies
Hallo Liebe Community, Ich habe ein Frage und Zwar kann man bei seinem Client Das Login Fenster verschieben also das Wo man die ID und das Pw eingibt um sich einzuloggen? Ich möchte das nicht rechts Haben sondern in der Mitte könnte mir da einer Sagen wie das geht, hab mit der SuFu nichts gefunden. Bitte um Hilfe Danke.!



All times are GMT +2. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.