what happen to my input box?
Moderator: General Moderators
what happen to my input box?
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
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
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
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.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: what happen to my input box?
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>- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
I can still see the text in the textbox. Please paste your CSS code 
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: what happen to my input box?
here is my website file..
you can download here.... i'm dizzy now...lol
http://rapidshare.com/files/423275355/itcheat.info.zip

you can download here.... i'm dizzy now...lol
http://rapidshare.com/files/423275355/itcheat.info.zip
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
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;
}
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: what happen to my input box?
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?
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?
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
And it won't work because you need to change the background color to #000. (background-color: #000).skynet88 wrote:i change the background image for text.gif to #000000, but also did'nt work..
The problem you are having is with the css.skynet88 wrote:i just give you all file because i did'nt know where the problem code either in css,php or html.....
The code below is the code you posted, which i downloaded.skynet88 wrote:where is the form or the text input / submit button located?
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">
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: what happen to my input box?
i follow your instruction... has changed the background color to #000 but still cannot solve the prob..
appreciate your help bcoz spend your time to solve my prob
appreciate your help bcoz spend your time to solve my prob
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
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;
}
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: what happen to my input box?
now you view my site... still not solve..
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
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.
It's also partly hidden behind a set of checkboxes so it's possible that there could be a problem with the HTML.social_experiment wrote:Give the form or the text input / submit button some sort of a border so people know about it.
- Attachments
-
- Image
- your_text.jpg (35.94 KiB) Viewed 1086 times
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: what happen to my input box?
is it my browser prob? i cannot see the text color...???
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: what happen to my input box?
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?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering