The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Coding affecting template, html help please!~
Evilbmxer
post Mar 26 2007, 01:48 PM
Post #1





Group: Members
Posts: 1
Joined: 26-March 07
From: Portland, Oregon
Member No.: 2,334



For my new site.. I'm having a bit of trubble..

I'm adding my forum login to the top of my site.

I can get it all working, but i'm having this problem. Where its highlighted red, I have to have that for the login to work. But when I have that, it shifts all my images down. But when I delete the highlighted coding. It aligns correct, but the login will not work..

QUOTE
<form action="/forum/login.php" method="post" enctype="multipart/form-data" class="form">
<div align="center" class="formloc"></div>

<input size="13" maxlength="64" name="username" value=" Username" onclick="if (this.value == ' Username') { this.value = ' '; }" onblur="if (this.value == ' ') { this.value = ' Username'; }" class="post" type="text"/>

<input size="13" name="password" class="post" onclick="if (this.value == ' Password') { this.value = ''; }" onblur="if (this.value == '') { this.value = ' Password'; }" value=" Password" type="password"/>

<input value="Login" class="formsubmit" name="login" type="submit"/></form>



Here is my new template that I'm having problems on.

http://portlandriders.info/newsite/index.html

Thanks so much for your help.. I've been working on this for a week! I just can't figure it out.

This post has been edited by Evilbmxer: Mar 26 2007, 01:49 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Effovex
post Mar 26 2007, 10:04 PM
Post #2


Serious Coder
*****

Group: Members
Posts: 251
Joined: 6-January 07
From: Sherbrooke, Qc, Canada
Member No.: 1,477



Remove the padding and margins from the form in your CSS.

.form { padding: 0; margin: 0; }

Not sure what a class named .form is good for on a form, but that's the one you gave it yourself.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 03:25 AM