Input achtergrond

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Roel

Roel

23/07/2007 13:36:00
Quote Anchor link
Hallo,

Ik heb een probleemtje met de inputs van mij login. Ik gebruik nu dit:
HTML:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
Login:<input class="login" name="login" type="text" maxlength=16>
Wachtwoord:<input class="loginpass" name="pass" type="password" maxlength=16>

CSS:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
input.login {
border : 1px solid #ffffff;
width : 70px;
height : 17px;
background-image : url(images/login_bg.jpg);
font-size : 8pt;
color : #000000;
font-weight : bold;
letter-spacing : 1px;
background-attachment : fixed;
}
input.loginpass {
border : 1px solid #ffffff;
width : 70px;
height : 16px;
background-image : url(images/login_bg.jpg);
font-size : 8pt;
color : #000000;
font-weight : bold;
letter-spacing : 1px;
background-attachment : fixed;
}


Dan ziet het er zo uit (wat ik nogal raar vind omdat de css precies hetzelfde is maar zo als het er uit ziet niet:S):
http://img442.imageshack.us/my.php?image=loginxu3.jpg
(de bovenste)

Als ik dit gebruik (zelfde HTML):
CSS:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
input.login {
border : 1px solid #ffffff;
width : 70px;
height : 17px;
background-image : url(images/login_bg.jpg);
font-size : 8pt;
color : #000000;
font-weight : bold;
letter-spacing : 1px;
background-attachment : fixed;
}
input.loginpass {
border : 1px solid #ffffff;
width : 70px;
height : 16px;
background-image : url(images/login_bg.jpg);
font-size : 8pt;
color : #000000;
font-weight : bold;
letter-spacing : 1px;
background-attachment : scroll;
}


Ziet het er zo uit:
http://img442.imageshack.us/my.php?image=loginxu3.jpg
(de onderste)

De rechter klopt dus alleen het probleem is dat die dan mee gaat scrollen (wat nogal logisch is). Ik wil het dus gewoon zo hebben dat ze NIET mee scrollen en er uitzien als het wachtwoord in het 2e voorbeeld (gewoon het hele plaatje zichtbaar dus)

Iemand enig idee wat ik fout doe?
Gewijzigd op 01/01/1970 01:00:00 door Roel
 
PHP hulp

PHP hulp

20/02/2025 03:58:30
 
Roel

Roel

27/07/2007 18:33:00
Quote Anchor link
Heb de oplossing nog steeds niet gevonden:S In IE7 doet die het niet goed en in de vorige versies weer wel, in FF 2 doet die het wel maar in ouderen versies juist niet.. beetje raar dus.

Iemand een idee?
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.