01. februar 2004 - 19:46
Der er
6 kommentarer og 1 løsning
1 pixel fra kanten
<html> <head> <title>NetCity</title> <STYLE type=text/css> BODY { scrollbar-face-color: #ffffff; scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #ffffff; scrollbar-darkshadow-color: #fffff; scrollbar-shadow-color: #fffff; scrollbar-arrow-color: ##666666; scrollbar-track-color: #666666; } .input{ width: 87px;background: url('typebox.gif') fixed no-repeat #FFFFFF; font-family: Verdana; color: #000000; font-size: 10px; border:1px solid #FFFFFF; margin-left: 0px; margin-top: 0px; padding:0px 2px; } </style> </head> <body topmargin="0" leftmargin="0"> <p align="left"> <FONT color="black" size="1" face="Verdana"> <B> <img border="0" src="brugernavn.gif" width="78" height="15"><input class="input" size="15" name="username" maxlength="11"><img border="0" src="kodeord.gif" width="57" height="15"><input class="input" size="15" name="password" type="password"><input type="image" src="login.gif" name="I1" value="Login" class="submit" width="61" height="15"> </b></FONT></p> </body> </html> Med den kode har jeg det problem at mine input felter ligger 1 pixel fra TOP kanten.. De skal helt 100% ud til siden? Er der nogen der kan sige mig hvor fejlen er?
Annonceindlæg fra Academic Work Denmark A/S
01. februar 2004 - 20:04
#3
<html> <head> <title>NetCity</title> <STYLE type=text/css> BODY { scrollbar-face-color: #ffffff; scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #ffffff; scrollbar-darkshadow-color: #fffff; scrollbar-shadow-color: #fffff; scrollbar-arrow-color: ##666666; scrollbar-track-color: #666666; } .input{ width: 87px;background: url('typebox.gif') fixed no-repeat #FFFFFF; font-family: Verdana; color: #000000; font-size: 10px; border:1px solid #FFFFFF; margin-left: 0px; margin-top: 0px; padding:0px; } </style> </head> <body topmargin="0" leftmargin="0"> <p align="left"> <FONT color="black" size="1" face="Verdana"> <B> <img border="0" src="brugernavn.gif" width="78" height="15"><input class="input" size="15" name="username" maxlength="11"><img border="0" src="kodeord.gif" width="57" height="15"><input class="input" size="15" name="password" type="password"><input type="image" src="login.gif" name="I1" value="Login" class="submit" width="61" height="15"> </b></FONT></p> </body> </html>
01. februar 2004 - 20:05
#4
<html> <head> <title>NetCity</title> <STYLE type=text/css> BODY { scrollbar-face-color: #ffffff; scrollbar-highlight-color: #ffffff; scrollbar-3dlight-color: #ffffff; scrollbar-darkshadow-color: #fffff; scrollbar-shadow-color: #fffff; scrollbar-arrow-color: ##666666; scrollbar-track-color: #666666; } .input{ width: 87px;background: url('typebox.gif') fixed no-repeat #FFFFFF; font-family: Verdana; color: #000000; font-size: 10px; margin-left: 0px; margin-top: 0px; padding:0px; } </style> </head> <body topmargin="0" leftmargin="0"> <p align="left"> <FONT color="black" size="1" face="Verdana"> <B> <img border="0" src="brugernavn.gif" width="78" height="15"><input class="input" size="15" name="username" maxlength="11"><img border="0" src="kodeord.gif" width="57" height="15"><input class="input" size="15" name="password" type="password"><input type="image" src="login.gif" name="I1" value="Login" class="submit" width="61" height="15"> </b></FONT></p> </body> </html> Der var også en border på