Jump to content
Sign in to follow this  
Ecko

how to add a login form to this div tag

Recommended Posts

<td rowspan="2"><div id="login"><img src="images/login.jpg" width="151" height="251" alt=""></div></td>

Share this post


Link to post
Share on other sites

all the slices move to diff bits of page andthe login appears at top please can you tell me if this login form is right and if it is then please insert it ito the div tags and post , thanks

 

 <legend>Login</legend>";
print "<form action=authenticate.php method=post name=login onsubmit=\"return saveme();\">Username: <input type=text name=username><br>
Password: <input type=password name=password><br>
Remember me?<br />
<input type=\"radio\" value=\"ON\" name=\"save\">Yes <input type=\"radio\" name=\"save\" value=\"OFF\" checked>No
<input type=submit value=Submit></form></fieldset></td></tr></table><br> 

Share this post


Link to post
Share on other sites

i am learning it on a website "w3 schools" somthin like that , but i dont understand how to put a form on a image thats why i thought you guys would help a learner , so next time i know what to do

Share this post


Link to post
Share on other sites

The more you try the more you will learn. Asking for someone to do it for you will not help you understand how it was done only that it is now done.

For everything you wish to know there is a thousand websites that will show you how. Type in google search form images.

Share this post


Link to post
Share on other sites

With that frame of mind indeed you will be.

There was nobody to help me when I learnt html. I sat in the universities computing department and printed out the entire html markup on a dot matrix printer.

Without trying you will never know and your much better taking things one step at a time. Create web pages in html and css. Once your comfortable with that then look at intergrating with PHP.

Share this post


Link to post
Share on other sites

The problem is your trying to jump into something without learning the basics. You are using an image that we can not see. I would say show what you are trying to do with a link, so others might be able to see what you need help with. You will probably need to style up the input fields, so that they are not wider than the image itself. The size of the table/div could be too small for the size of the input field.

Edited by W3Theory || Peter
dyslexic came into play

Share this post


Link to post
Share on other sites

If you want login on picture use css for it... and wrap the login form in another div and add the class...

Edited by lucky3809

Share this post


Link to post
Share on other sites

ok i actually figured it out myself , i used a apdiv and placed the form inside the div

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...