images and form fields on one line
Posted: 02 January 2011 11:45 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2011-01-02

Dear all,

I am trying to place an image and an input text and password field on one line but the two input fields are not on line with my images.
As you can see on my screen shot I have 3 images in line and the input fields in between are placed to low.
Do you have any idea on how I can fix this?

here is the code for the form:

<form method="post" action="talent/talent_login.php">
    <
div id="logintalent">
        <
img src="images/logintalent.gif" >    
        <
input type="text" name="talentemailaddress" value ="" size ="34"></input>
        <
img src="images/passworttalent.gif" >
        <
input type="password" name="talentpassword" size ="33"></input>
        <
input type="image" SRC="images/login.gif" ALT="Submit Form" />
    </
div>
</
form

and here for my used css definitions:

#logintalent {
clearboth;    
width755px;    
height30px;    
position:relative;
left30px;        
border1px solid;    
border-color#70237b;


many thanks!
Robert

Profile
 
 
Posted: 02 January 2011 08:10 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  5
Joined  2011-01-02

I think you may be use image background for this issue.

Profile