473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Code displaying incorrect in IE 8

Hi guys please see attachment code, the code displays well with all browsers except with IE 8, if you guys can copy and paste then open it with IE then try opening it again using another browser you will see how it displays what please check and advice.

<Mod edit: Code from attachment posted below. --Atli>
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <title>Ligwalagwala Funerals</title>
  8. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  9. <link rel="stylesheet" href="js_styles.css" type="text/css" />
  10. <text align="left"/>
  11. <script type="text/javascript">
  12. /* <![CDATA[ */
  13. function checkForNumber(fieldValue) {
  14.     var numberCheck = isNaN(fieldValue);
  15.     if (numberCheck == true) {
  16.         window.alert("Please enter a valid number");
  17.             return false;
  18.     }
  19. }
  20. /* ]]> */
  21. <!--HIDE FROM INCOMPATIBLE BROWSERS
  22. // STOP HIDING FROM INCOMPATIBLE BROWSERS-->
  23. </script>
  24. </head>
  25. <body>
  26. <h1><b>Order Here</b></h1>
  27. <h2><b>Please select below</b></h2>
  28. <form action="FormProcessor.html" method="get" enctype="application/x-www-form-urlencoded">
  29. <p><strong>Choose what you need us to assist you with:</strong></p>
  30. <p><select name="services">
  31. <option value="funeralcasket">Funeral Casket</option>
  32. <option value=funeralcremation">Funeral Cremation</option>
  33. <option value="funeralarrangement">Funeral Arrangement</option>
  34. <option value=funeralcar">Funeral Car</option>
  35. <option value="funeralcoffin">Funeral Coffin</option>
  36. <option value="funeralcost">Funeral Cost</option>
  37. <option value="funeralflowers">Funeral Flowers</option>
  38. <option value="funeralhomes">Funeral Homes</option>
  39. <option value="funeralinformation">Funeral Information</option>
  40. <option value="funeralmemories">Funeral Memories</option>
  41. <option value="funeralparlor">Funeral Parlor</option>
  42. <option value="funeralplanner">Funeral Planner</option>
  43. <option value="funeralpreplanning">Funeral Pre Planning</option>
  44. <option value="funeralpaymentsplan">Funeral Payments Plan</option>
  45. <option value="funeralprices">Funeral Prices</option>
  46. <option value="funeralprograms">Funeral Programs</option>
  47.  
  48. </select></P>
  49.  
  50.  
  51.  
  52.  
  53.  
  54. <table border="0">
  55. <tr>
  56.  
  57.  
  58. <p><b>Complete the form below</b></p>
  59.  
  60.  
  61. <p>Name<br />
  62. <input type="text" name="name" size="40" /></p>
  63. <p>Surname<br />
  64. <input type="text" name="surname" size="40" /></p>
  65. <p>Residential Address<br />
  66. <input type="text" name="residential_address" size="60" /></p>
  67. <input type="text" name="name" size="60" /></p>
  68. <input type="text" name="name" size="60" /></p>
  69. <p>Code<input type="text" name="code" size="10" onchange="return checkForNumber(this.value);"/></p>
  70. <p>Contact Number<br />
  71. <input type="text" name="area_code" size="3" maxlength="3" onchange="return checkForNumber(this.value);" />
  72. <input type="text" name="number" size="7" maxlength="7" onchange="return checkForNumber(this.value);" /></P>
  73. <p>Cellphone<br />
  74. <input type="text" name="cellnumber" size="10" maxlength="10" onchange="return checkForNumber(this.value);" /></p>
  75. <p>Email Address<br />
  76. <input type="text" name="email" size="50" /></P>
  77.  
  78. <p><strong>Where did you here about us?</strong></p>
  79.  
  80. <p><select name="aboutus">
  81. <option value="newspaper">Newspaper</option>
  82. <option value="internet">Internet</option>
  83. <option value="afriend">A Friend</option>
  84. <option value="brochure">Brochure</option>
  85. <option value="radio">Radio</option>
  86. <option value="flyer">Flyer</option>
  87. </select></P>
  88.  
  89.  
  90. </table></tr>
  91.  
  92.  
  93.  
  94.  
  95. </form>
  96. </body>
  97. </html>
  98.  
Attached Files
File Type: txt Ligwalagwala.txt (3.2 KB, 308 views)
Nov 6 '10 #1
2 2168
Cmaza
16
I'm not entirely sure what part of the code is causing the problem, but I did notice this when I took a look - line 34, missing opening quotation mark on parameter:

<option value="funeralcar">Funeral Car</option>
Nov 7 '10 #2
I got the answer, when you remove line 54, 55 & line 90 the it will show correct.Oh and thenks for that i never saw line 34.
Nov 11 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: | last post by:
I have ASP code displaying currency datatype data from Access database. I have copies of this asp code and tha database on two w2k/IIS5 computers, bothg having the decimal symbol set to "." in...
14
by: Akbar | last post by:
Hey there, Big-time curiosity issue here... Here's the test code (it's not that long)... it's to display a large number of image links with captions, ideally pulled in from an external file...
2
by: John J. Hughes II | last post by:
I lost an hard drive and had to reinstall VS.Net 2K2 and then of couse 2K3. The problem is I think I got the key codes in 2K3 wrong (yes it let me install). Now I get an error message saying the...
22
by: larry | last post by:
I was just looking at a demo training that mindleaders has on .net training: http://www.mindleaders.com/products/democourse3.asp And I don't believe this is correct or at least is misleading...
19
by: Swaregirl | last post by:
Hello, I would like to build a website using ASP.NET. I would like website visitors to be able to download code that I would like to make available to them and that would be residing on my...
0
by: SanjeevN | last post by:
MSDN has sample code for interacting with the MetaWeblog API C# Sample - complete and compiles....
0
by: rose | last post by:
I have an ACCESS graph and when I turn on show data tables, the data table displays a whole number instead of the percentage like the graph. I have formatted the sourc query to be percentage, but I...
2
by: ryan.paquette | last post by:
Hello' I have a table with a column for each year. I have a form that will be writing a date (from a cbo in a form) to these columns. I am trying to write a IF statement that will update these...
9
by: tonyadams5 | last post by:
I have the following script but the page does not load. It always loads the error page. <?php if ($c !="") { include ("content".$c.".php"); } else { ...
3
by: Hataf | last post by:
Hi! I am having a problem in displaying images from database. This the code gallery.php <?php session_start(); if(isset($_SESSION)){} //die('ERROR:'.mysql_error());
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.