473,698 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Code displaying incorrect in IE 8

3 New Member
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, 312 views)
Nov 6 '10 #1
2 2179
Cmaza
16 New Member
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">Fun eral Car</option>
Nov 7 '10 #2
Bongani Mgibi
3 New Member
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
5666
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 the Regional setting both for numbers and for currency. However on one PC it shows dots, while on the other - commas. What is actually controlling which decimal shows up?
14
2611
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 (that part's not here -- spotlighting the problem code): --------BEGIN CODE PAGE------------ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
3210
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 key code is incorrect. I have the correct code but is there anyway to enter it without uninstalling and re-installing the whole thing? It will takes hours. Regards, John
22
2167
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 to me: "The search for an easy, productive, and very powerful programming language led to the birth of Visual C#. Visual C# incorporates the best features of Visual C++ and Visual Basic. Visual C# enables you to
19
2273
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 personal server. Are there any code samples or books that someone can recommend so that I can implement this. I would prefer VB.NET code, but I am willing to convert from C# if necessary.
0
1146
by: SanjeevN | last post by:
MSDN has sample code for interacting with the MetaWeblog API C# Sample - complete and compiles. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msnspaces/MetaWeblogAPI_CSharp_Code_Sample.asp VB sample - is incomplete and incorrect. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msnspaces/MetaWeblogAPI_VB_Code_Sample.asp Can someone post the equivalent VB code just for this snippet?
0
1643
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 cannot get the data tabel correct. I have seen several questions regarding this issue, but never the answer. If I need to do SQL formating - where do I format it at? Thanks
2
3867
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 columns depending on the year. i.e. if the chosen date is in 2008, it will write to the 2008 column, if 2009, the 2009 column... Iv'e tried a couple different ways, but canot seem to get it to work.
9
1793
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 { include ("content4.8.php"); } ?>
3
1702
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
8668
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8855
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4612
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2320
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.