View Full Version : A bit of css and html helps
VistaBoy
28-09-2008, 11:24 PM
Umm does any one know how i would code this in css and divs?
if some one can do it for me or post the code i would love that :D
Calon
29-09-2008, 09:44 AM
Umm does any one know how i would code this in css and divs?
if some one can do it for me or post the code i would love that :D
Are you missing a vital brain component?
VistaBoy
29-09-2008, 11:26 AM
I do not get what you mean the thing i am having issues with is that i go not know how to get the submit button were it is shown on the pic.
Calon
29-09-2008, 12:27 PM
I do not get what you mean the thing i am having issues with is that i go not know how to get the submit button were it is shown on the pic.
Align it to the right, then: give it a 0px margin.
TidgyPie
29-09-2008, 01:09 PM
I think he meant the login.
If you have trouble making that I suggest you don't attempt anything that requires a login form :P
Jackboy
29-09-2008, 03:41 PM
Can't help, sorry.
Thats way too challenging for me.
Trinity
29-09-2008, 05:36 PM
Can't help, sorry.
Thats way too challenging for me.
So why post?
Because he was being sarcastic and i thought it was funny ^^.
Excellent2
29-09-2008, 05:51 PM
.box {
width: 500px;
border: 1px solid; color: black;
background-color: white;
margin: auto;
background-repeat: repeat-y;}
For the CSS then for the form.
<div class="box">
Username: <input type="text" size="20" style="border: 1px solid; color: black;"><br>
Password: <input type="password" size="20" style="border: 1px solid; color: black;"><br>
<span style="float: right;"><input type="submit" value="Submit" style="border: 1px solid; color: black;">
</div>Obviously that won't be correct in the way of colours and things, you can edit them easily with a hex. Sorry about using a class, don't have the hash key on my board :P
Trinity
29-09-2008, 05:56 PM
Because he was being sarcastic and i thought it was funny ^^.
Ahh right, my bad.
Excellent2
29-09-2008, 05:59 PM
Make sure you add overflow:hidden; to the div.
Anticimex
29-09-2008, 06:36 PM
.box {
width: 500px;
border: 1px solid; color: black;
background-color: white;
margin: auto;
background-repeat: repeat-y;}
For the CSS then for the form.
<div class="box">
Username: <input type="text" size="20" style="border: 1px solid; color: black;"><br>
Password: <input type="password" size="20" style="border: 1px solid; color: black;"><br>
<span style="float: right;"><input type="submit" value="Submit" style="border: 1px solid; color: black;">
</div>Obviously that won't be correct in the way of colours and things, you can edit them easily with a hex. Sorry about using a class, don't have the hash key on my board :P
That would work. +rep to Lucas for being good at coding :P (if i can)
Excellent2
29-09-2008, 08:26 PM
That would work. +rep to Lucas for being good at coding :P (if i can)Hehe ;)
VistaBoy
29-09-2008, 09:22 PM
Thank you Excellent2 that code worked and i edited it fit my needs :D
Excellent2
29-09-2008, 09:32 PM
Thank you Excellent2 that code worked and i edited it fit my needs :DAnytime :)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.