Page 1 of 1

login over a picture

Posted: Sat Feb 12, 2005 9:01 pm
by Smackie
anyone know away to have a login over a picture??


Thanx Smackie

Posted: Sat Feb 12, 2005 9:10 pm
by feyd
what?

Posted: Sat Feb 12, 2005 9:12 pm
by Smackie
lol i know its a really newbie question lol but i want to have my login put on top of a picture........ :?

Posted: Sat Feb 12, 2005 9:18 pm
by feyd
it would have been nice to have said that in the first place... :?

generally, you put the form over something that has a background image set... or similar.. maybe you should explain more.. or show examples..

Posted: Sat Feb 12, 2005 9:21 pm
by Smackie
lol well ok say i had a picture ok and i wanted to put that on my website ok but not only i want it to be on my website i want to have my login script to be over the picture so it would look alittle better...

something kinda like this
http://logd.maddnet.com/

the dragon around the login.........


sorry i havent been to sleep in 3 or 4 days :? lol

Posted: Sat Feb 12, 2005 9:33 pm
by feyd
did you look at the page code for it?

Code: Select all

<form action='login.php' method='POST'>
<table width='212' height='234' border='0' cellpadding='0' cellspacing='0' background='images/logindragon.gif' class='noborder'>
	<tr>
		<td valign='bottom' align='center' class='noborder'>
			<u>U</u>sername: <br><input name='name' accesskey='u' size='10'><br>

			<u>P</u>assword:<br><input name='password' accesskey='p' type='password' size='10'><br>

			<input type='submit' value='Log in' class='button'><br>
			<img src='images/trans.gif' width='1' height='37' align='absmiddle' alt=''>
			<img src='images/trans.gif' width='1' height='15'>
		</td>
	</tr>
</table></form>
the exact code they have for that part.

Posted: Sat Feb 12, 2005 9:36 pm
by Smackie
i cant for some reason my script button wont work on my computer to look at scripts on websites :? dont know why either and on that script anyways you gotta have a trans.gif picture and i dont know how to get them :-S

Posted: Sat Feb 12, 2005 9:43 pm
by Smackie
alright i got it finally :) well the trans.gif but i still want to know why my script looker still wont work tho :-S

Posted: Sun Feb 13, 2005 7:47 am
by Maugrim_The_Reaper
All you need to do is put the form in a table cell, and add a style tag setting the background image to whatever the backimage you want is. Make sure it's centered. Alternatively a CSS div would work in place of a table - depends how you create your layout... W3Schools.com is good place to look up these sorts of attributes...

As for seeing the script (I assume you mean the html markup), get a browser that works - Mozilla Firefox is a good start...:) The Web Developer 0.8+ plugin for Firefox is also a good idea...

Posted: Sun Feb 13, 2005 9:13 am
by feyd
thank you for rehashing what I already said. :roll:

Posted: Sun Feb 13, 2005 10:14 am
by Trenchant
betteryet make a simple form in flash. This would be the easiest way to create a login form with an image behind it. If you used flash just for the login form and image behind it you could also make the image and the form blend in a little better. Its easier than going throught and tinkering with HTML.


If you post the image here that you want and a rough idea of how you want it I can whip it up for you really quick. (send me a pm with the url of this topic just so I don't miss it)

Posted: Sun Feb 13, 2005 10:18 am
by feyd
it's not hard to do a image in the background of a form. :roll: Good grief.

I've blended forms and backgrounds together, it's not all that much harder.. :roll:

Posted: Sun Feb 13, 2005 10:22 am
by Trenchant
feyd your someone that has experience on almost all common web programming lanuages... You can do almost anything :P

I myself would rather just do it in flash.

Posted: Sun Feb 13, 2005 2:57 pm
by d3ad1ysp0rk
Maybe it's just me, but the code it would take to make a background image and a form ontop of it would probably take 20 seconds for any novice html scripter to create. Loading flash takes that long on some people's computers. Then they have to learn how to submit flash forms to a php page, make sure the users ALL have flash installed (or they can't login..), etc.

Hmm.. HTML, or flash.. html, or flash.. I can't decide ;)