Fruddy
Members-
Posts
43 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
Fruddy's Achievements
Newbie (1/5)
0
Reputation
-
<html> <head> <style type="text/css"> body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; scrollbar-base-color:#cccccc; scrollbar-3dlight-color:#333333; scrollbar-arrow-color:#333333; scrollbar-darkshadow-color:#333333; scrollbar-face-color:#cccccc; scrollbar-highlight-color#cccccc; scrollbar-shadow-color:#cccccc; scrollbar-track-color:#cccccc; } table { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; text-transform: uppercase; font-weight: bold; } .small { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF; } .title { font-family: "Visitor -BRK-"; font-size: 16px; color: #3399FF; font-weight: normal; background-repeat: repeat; background-position: left top; } .category_big { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight: bold; } .category { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; font-weight: normal; } .marked { background-color: #FFFFFF; font-weight: bold; } a, a:visited, a:active { color: #33CCFF; text-decoration: none; font-weight: normal; } a:hover { color: #FFFFFF; text-decoration: underline; font-weight: normal; } a.titlelink, a.titlelink:visited, a.titlelink:active { color: #6699FF; text-decoration: none; font-weight: bold; } a.titlelink:hover { color: #FFFFFF; text-decoration: underline; font-weight: bold; } a.category, a.category:visited, a.category:active { color: #FFFFFF; text-decoration: none; } a.category:hover { color: #FFFFFF; text-decoration: underline; } option, textarea, input, select, file { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; background-color: #FFFFFF; border: 1px solid #333333; } .footer {color: #FFFFFF size: 10px } .form_off { color: #666666; background-color: #DCDCDC; border: 0px solid #666666; } .form_on { color: #000000; background-color: #EEEEEE; border: 0px solid #000000; } .form_username { background-color: #eeeeee; border: 0px solid #333333; background-repeat: no-repeat; background-position: center middle; width: 100px; height: 18px; } .form_password { background-color: #eeeeee; border: 0px solid #333333; background-repeat: no-repeat; background-position: center middle; width: 100px; height: 18px; } .form_usernameohne { border: 0px solid #333333; background-repeat: no-repeat; background-position: center middle; width: 100px; height: 18px; } .form_passwordohne { border: 0px solid #333333; background-repeat: no-repeat; background-position: center middle; width: 100px; height: 18px; } .form_name { background-color: #eeeeee; border: 1px solid #333333; background-image: url(images/name.gif); background-repeat: no-repeat; background-position: left top; } .form_text { background-color: #eeeeee; border: 1px solid #333333; background-image: url(images/message.gif); background-repeat: no-repeat; background-position: center middle; } .input { background-color: transparent; border: 1px none; margin-top: 0px; margin-bottom: 0px; } </style> </head> <body> <form method="post" name="login" action="checklogin.php"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="72%"><input name="ws_user" type="text" class="form_username" onfocus="this.className='form_on'" onblur="this.className='form_off'" size="15" /></td> <td width="28%" rowspan="2"><div align="center"> <input type="submit" name="Submit" value="" style="background-image:url(./style/ok.jpg); height:41; width:41; border: 0px;" /> </div></td> </tr> <tr> <td><input name="pwd" type="password" class="form_password" onfocus="this.className='form_on'" onblur="this.className='form_off'" size="15" /></td> </tr> <tr> <td colspan="2"><div align="center"><span class="style1"><a href="index.php?site=register">register!</a> <a href="index.php?site=lostpassword">lost password?</a></span></div></td> </tr> </table></td> </tr> </form> </body> </html> If you try to click on the form input, then the form will change it's size to the shape that I want. How can I fix it, so it don't change the size while clicking?
-
www.newcomedy.net My design looks perfectly fine in Firefox. But in Iexplore the layout is completely screwed up. I can't really find a another way to code it... how can i fix it?
-
www.newcomedy.net My design looks perfectly fine in Firefox. But in Iexplore the layout is completely screwed up. I can't really find a another way to code it... how can i fix it?
-
I get this error: Fatal error: Call to undefined function: business_header() in /home/n/e/sv_newcomedynet/test.php on line 4 When i try to run this script: <? include('http://www.newcomedy.net/fns/output_fns.php'); business_header(); ?> The function: <? function business_header() { ?> <body bgcolor="black"> <table border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="898" height="186" background="http://www.newcomedy.net/imgs/business_top.gif"> </td> </tr> </table> <? }; ?> I cant figure out what is wrong :/
-
Weird, but i have tried to remove the _x, but still it doesnt work. Can it be the Form that is causing the problem? <form action="index.php" method="POST"> <table align="center" border="0" cellspacing="0" cellpadding="0"><tr> <td width="898"><img border="0" width="212" height="51" src="http://www.newcomedy.net/imgs/home_06.gif"><input name="button1" type="image" src="http://www.newcomedy.net/imgs/button_01.gif"><img width="116" src="http://www.newcomedy.net/imgs/home_08.gif"><input name="button2" type="image" src="http://www.newcomedy.net/imgs/button_02.gif"><img width="234" height="51" src="http://www.newcomedy.net/imgs/home_10.gif"> </td></tr></table><table align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://www.newcomedy.net/imgs/home_11.gif"> <img src="http://www.newcomedy.net/imgs/home_11.gif"></td></tr></table></form>
-
Redarrow then why does this form dont work?: [tt]<form action="index.php" method="POST"> <table align="center" border="0" cellspacing="0" cellpadding="0"><tr> <td width="898"><img border="0" width="212" height="51" src="http://www.newcomedy.net/imgs/home_06.gif"><input name="button1" type="image" src="http://www.newcomedy.net/imgs/button_01.gif"><img width="116" src="http://www.newcomedy.net/imgs/home_08.gif"><input name="button2" type="image" src="http://www.newcomedy.net/imgs/button_02.gif"><img width="234" height="51" src="http://www.newcomedy.net/imgs/home_10.gif"> </td></tr></table><table align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://www.newcomedy.net/imgs/home_11.gif"> <img src="http://www.newcomedy.net/imgs/home_11.gif"></td></tr></table></form>[/tt]
-
I've been told that they have to be there, because the input is type=image. But I tried to remove it, didnt work either..
-
tauchai83, didnt work :/
-
Yes I think so: <form action="index.php" method="POST"> <table align="center" border="0" cellspacing="0" cellpadding="0"><tr> <td width="898"><img border="0" width="212" height="51" src="http://www.newcomedy.net/imgs/home_06.gif"><input name="button1" type="image" src="http://www.newcomedy.net/imgs/button_01.gif"><img width="116" src="http://www.newcomedy.net/imgs/home_08.gif"><input name="button2" type="image" src="http://www.newcomedy.net/imgs/button_02.gif"><img width="234" height="51" src="http://www.newcomedy.net/imgs/home_10.gif"> </td></tr></table><table align="center" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://www.newcomedy.net/imgs/home_11.gif"> <img src="http://www.newcomedy.net/imgs/home_11.gif"></td></tr></table></form>
-
My site: www.newcomedy.net/home PHP code: <?php if(isset($_POST['button1_x'])) echo "Button1 was pressed"; elseif(isset($_POST['button2_x'])) echo "Button2 was pressed"; else echo "None of the buttons were pressed"; ?> Even if I press button 1 or 2, the "None of the buttons were pressed" text will appear. Is there something wrong with the code?
-
The type have to be image or else u cant use the src="http://www.newcomedy.net/imgs/button_01.gif".
-
As I posted in my other topic, the PHP code for www.newcomedy.net/home looks like this: <? if(isset($_POST['button1_x'])) echo "Button1 was pressed"; elseif(isset($_POST['button2_x'])) echo "Button2 was pressed"; else echo "None of the buttons were pressed"; ?> The problem is that I allways get the "None of the buttons were pressed" text, though i pressed one of the buttons.
-
Ok, I solved the problem with the design. But now the form script won't work ??? www.newcomedy.net/home php code: <? if(isset($_POST['button1_x'])) echo "Button1 was pressed"; elseif(isset($_POST['button2_x'])) echo "Button2 was pressed"; else echo "None of the buttons were pressed"; ?>
-
Nobody who knows what might be the problem? :-\