HAI ragione non si vede...
ecco il codice. Mi aiuti a capire perche' non si vede?
Grazie
<html>
<head>
<style>
.azzurro {background: #DEEFFF}
.giallo {background: Yellow}
.verde {background: green}
</style>
<SCRIPT LANGUAGE="JavaScript">
function isEmpty(str) {
for (var intLoop = 0; intLoop<str.length; intLoop++)
if (" " != str.charAt(intLoop))
return false;
return true;
}
function checkSfondo(f) {
for (var intLoop = 0; intLoop<f.elements.length; intLoop++)
if ("Sfondo"==f.elements[intLoop].className) {
return false;
}
}
function fixUp(el) {
el.className = isEmpty(el.value) ? "sfondo" : "";
}
function checkChar(el) {
if (32 != event.keyCode)
el.className = "";
}
</SCRIPT>
</head>
<body>
<form method="post" action="/PHP/formhomes2.php">
Name : <input CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" type=text name="name" size=20>
Phone:
<input CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" type=text name="phone" size=20>
Email:
<input CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" type=text name="email" size=20>
City:
<select name="city">
<option>- Select -</option>
<option>Glasgow</option>
<option>Glasgow Center</option>
<option>Glasgow North</option>
<option>Glasgow South</option>
<option>Glasgow East</option>
<option>Glasgow West</option>
<option>~~~~~~~~~~~</option>
<option>Edinburgh</option>
<option>City Center</option>
<option>Edinburgh North</option>
<option>Edinburgh South</option>
<option>Edinburgh East</option>
<option>Edinburgh West</option>
<option>~~~~~~~~~~~</option>
</select>
Street:
<input CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" type=text name="street" size=20>
Postcode:
<input CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" type=text name="postcode" size=20>
Type of property:
<select name="type">
<option>- Select -</option>
<option>Flat</option>
<option>House</option>
<option>Cottage</option>
<option>Single bedroom</option>
<option>Double bedroom</option>
<option>Bedsit bedroom</option>
</select>
Number of bedrooms:
<select name="nbedrooms" size="1" >
<option>- Select -</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
When is it available from? :
<select name="available_day" size="1">
<option>05</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
<select name="available_month" size="1">
<option>12</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
<select name="available_year" size="1">
<option>2004</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
</select>
Is it Furnished?:
<select name="furnished">
<option>- Select -</option>
<option>Furnished</option>
<option>Unfurnished</option>
<option>Part furnished</option>
Rent:
<input CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" type=text name="rent" size=20>
Property description:
<textarea CLASS="azzurro" ONKEYPRESS="checkChar(this);" ONCHANGE="fixUp(this);" name="description" cols=40 rows=5 size=200></textarea>
<input type="Submit" name="submit" value="Submit">
</p>
</form>
</body>
</html>

Rispondi quotando