Page 1 of 2

what happen to my input box?

Posted: Mon Oct 04, 2010 10:43 am
by skynet88
when i type into the box..nothing appear? here my site:

http://itcheat.info/

what the solution?i have check css and php but no idea bout that..what do you think that cause the prob?
thanks in advanced

Re: what happen to my input box?

Posted: Mon Oct 04, 2010 12:25 pm
by social_experiment
What type of file is it, php, html ? I copied the source and pasted it and it works (i.e i can see the text i type). Paste your style sheet code thats relevant to the input box.

Re: what happen to my input box?

Posted: Tue Oct 05, 2010 6:06 am
by skynet88
how bout this code

Code: Select all

<?php
include("config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo($title) ?></title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="head"><h1 id="logo"><a href="index.php"><span class="none">IT Cheat</span></a></h1></div>
<div id="container">

<p id="paragraph">

<?php echo($adsense) ?>

<?php echo($paragraph) ?>

</p>

     <!-- CONTENT START -->
      
         <!--[error]-->
         
         <!--[index_above_form]-->
         	
         <form action="includes/process.php?action=update" method="post" onsubmit="return updateLocation(this);"><p>

            <input type="text"  name="u" value="http://www.google.com" size="50" id="search" onfocus="this.select()">
            
            <input type="submit" value="" title="Click to browse site" id="submit"><br class="clear"/>
			</p>
			<div id="text">

  </div>
 <ul id="checkers">
<?php foreach ( $toShow as $option ) echo <<<HTML

                  <li class="checks"><input type="checkbox" class="space" name="{$option['name']}" id="{$option['name']}"{$option['checked']}>
                  <label for="{$option['name']}" class="tooltip" onmouseover="tooltip('{$option['escaped_desc']}')" onmouseout="exit();">{$option['title']}</label></li>

HTML;
?>

    		</ul>   
 </form>
</div>
<div id="foot">




         <!--[index_below_form]-->

         <!-- CONTENT END -->
         


</body>
</html>

Re: what happen to my input box?

Posted: Tue Oct 05, 2010 7:18 am
by social_experiment
I can still see the text in the textbox. Please paste your CSS code :)

Re: what happen to my input box?

Posted: Tue Oct 05, 2010 10:51 am
by skynet88
here is my website file..

you can download here.... i'm dizzy now...lol

http://rapidshare.com/files/423275355/itcheat.info.zip :banghead: :banghead: :banghead: :dubious:

Re: what happen to my input box?

Posted: Tue Oct 05, 2010 11:45 am
by social_experiment

Code: Select all

#search {
	width: 241px;
	height: 17px;
	background: url("images/text.gif") no-repeat;
	border: 0;
	padding: 12px;
	margin: 10px 0 0 227px;
}
#submit {
	width: 75px;
	height: 37px;
	background: url("images/surf.gif") no-repeat;
	border: 0;
	margin: 10px 0 0 5px;
}
The problem appears to be with the backgrounds you are using. Are they mission critical to your site? If not, rather use a background color like #000 and have the text appear white. Also, if i didn't have your code i probably wouldn't have know about the form. Having it hidden (in plain sight) is not a good idea. Give the form or the text input / submit button some sort of a border so people know about it. Hth.

Re: what happen to my input box?

Posted: Tue Oct 05, 2010 1:06 pm
by skynet88
i change the background image for text.gif to #000000, but also did'nt work..

i just give you all file because i did'nt know where the problem code either in css,php or html.....

where is the form or the text input / submit button located? :drunk:

Re: what happen to my input box?

Posted: Tue Oct 05, 2010 8:47 pm
by social_experiment
skynet88 wrote:i change the background image for text.gif to #000000, but also did'nt work..
And it won't work because you need to change the background color to #000. (background-color: #000).
skynet88 wrote:i just give you all file because i did'nt know where the problem code either in css,php or html.....
The problem you are having is with the css.
skynet88 wrote:where is the form or the text input / submit button located?
The code below is the code you posted, which i downloaded.

Code: Select all

<?php
include("config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo($title) ?></title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="head"><h1 id="logo"><a href="index.php"><span class="none">IT Cheat</span></a></h1></div>
<div id="container">

<p id="paragraph">

<?php echo($adsense) ?>

<?php echo($paragraph) ?>

</p>

     <!-- CONTENT START -->
      
         <!--[error]-->
         
         <!--[index_above_form] Form Starts Here -->
         	
         <form action="includes/process.php?action=update" method="post" onsubmit="return updateLocation(this);"><p>

            <input type="text"  name="u" value="http://www.google.com" size="50" id="search" onfocus="this.select()" />
            
            <input type="submit" value="search" title="Click to browse site" id="submit" /><br class="clear"/>
			</p>
			<div id="text">

  </div>
 <ul id="checkers">
<?php foreach ( $toShow as $option ) echo <<<HTML

                  <li class="checks"><input type="checkbox" class="space" name="{$option['name']}" id="{$option['name']}"{$option['checked']}>
                  <label for="{$option['name']}" class="tooltip" onmouseover="tooltip('{$option['escaped_desc']}')" onmouseout="exit();">{$option['title']}</label></li>

HTML;
?>
 <!-- From Ends Here -->
    		</ul>   
 </form>
</div>
<div id="foot">
:|

Re: what happen to my input box?

Posted: Wed Oct 06, 2010 7:25 am
by skynet88
i follow your instruction... has changed the background color to #000 but still cannot solve the prob.. :wink:
appreciate your help bcoz spend your time to solve my prob

Re: what happen to my input box?

Posted: Wed Oct 06, 2010 11:35 am
by social_experiment

Code: Select all

#search {
	width: 241px;
	height: 17px;
	background-color: #000;
	border: 0;
	color: #fff;
	padding: 12px;
	margin: 10px 0 0 227px;
}
#submit {
	width: 75px;
	height: 37px;
	background-color: #000;
	color: #fff;
	border: 0;
	margin: 10px 0 0 5px;
}
This is the css that i used to resolve the problem. Paste your style sheet if you still can't solve the problem :) Hth.

Re: what happen to my input box?

Posted: Wed Oct 06, 2010 5:38 pm
by skynet88
now you view my site... still not solve..

Re: what happen to my input box?

Posted: Thu Oct 07, 2010 1:05 am
by social_experiment
Actually it is showing. The reason the form is not as visible as you want it is as follows : Your background-color is black, your input fields background color's are black.
social_experiment wrote:Give the form or the text input / submit button some sort of a border so people know about it.
It's also partly hidden behind a set of checkboxes so it's possible that there could be a problem with the HTML.

Re: what happen to my input box?

Posted: Fri Oct 08, 2010 5:15 am
by skynet88
is it my browser prob? i cannot see the text color...???

Re: what happen to my input box?

Posted: Fri Oct 08, 2010 7:19 am
by social_experiment
I've tested it with firefox and i see (or rather i dont) your dilemma. Could you add that page, all the images and the stylesheet together and put it on here for download?

Re: what happen to my input box?

Posted: Fri Oct 08, 2010 8:17 am
by skynet88
here the file..you can download all file here:

http://www.mediafire.com/?t2ich8o89ogx3t6