Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Internet Explorer Forum
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Internet Explorer Forum Internet Explorer Support.

Reply
 
LinkBack Thread Tools
Old 08-05-2008, 08:13 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 2
OS: Windows XP SP3


[SOLVED] Issue with HTML output in IE for Phone Numbers

Hello Guys,

I am facing a typical problem related to output of HTML when outputing phone or fax numbers. For example a phone number like +44-191-0000000
is displayed as 191-0000000. I have checked all the apparent possibilities but nothing works. Interestingly there is no issue with output on Firefox.

The simple HTML code is as follows:
+++++++++++++++++++++Code Starts below:

<html>
<head>
<title>Global Information System - Employee Information Page</title>
</head>

<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" >
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td colspan="3" valign=top><nobr>
<!-- Name and Department Links-->
Test, Test&nbsp;[ <a href='/application/communication/organisation_view.asp?OrgaID=E0000130 ' target='_parent'>FE-North Shields</a> ]
</nobr><br>
<tr>
<tr>
<td colspan="3"><a href="mailto:dummy.dummy@dummy.com">dummy.dummy@dummy.com</a>&nbsp;</td>
</tr>
<tr>
<td valign="top" colspan="3">
<table cellspacing="1" cellpadding="0" width="100%" border="0">
<tr><td>Phone:</td><td>&nbsp;</td><td align='left' width='100%'>+44-191-0000000</td></tr>
<tr><td>Fax:</td><td>&nbsp;</td><td align='left' width='100%'>+44-191-0000000</td></tr>
<tr><td>Mobile:</td><td>&nbsp;</td><td align='left' width='100%'>+44-7977-0000000</td></tr>
</table></td>
</tr>
</table>
</body>
</html>

+++++++++++++++Code ended above

I have IE6 installed on WindowsXP SP3

I would appreciate any clue on this one.

Thanks
ssharma is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 08-05-2008, 09:16 AM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,874
OS: Vista, various linux distros


Re: Issue with HTML output in IE for Phone Numbers

Hey, you could use the HTML entities (e.g. what you use instead of < when you want to display a right angle bracket)...

(Check the EDIT at the bottom)

This works in both browsers(i've checked)..

Hope it works.

Cheers,
Jamey

EDIT!: LMAO of course, i'm posting in html based stuff, so the entities get changed. The entities are here: http://www.w3.org/MarkUp/html3/latin1.html

Okay i'll try and display them:
+ becomes: &#43;
- becomes: &#45;
(excuse the boldness, if i don't include it they change to the + sign etc.)

so this code:
Code:
+44-191-0000000
becomes:
Code:
&#43;44&#45;191&#45;0000000
yet again excuse the overuse of boldness it's just so they display
__________________

Myspace

Last edited by jamiemac2005; 08-05-2008 at 09:21 AM.
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-06-2008, 02:33 AM   #3 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 2
OS: Windows XP SP3


Re: Issue with HTML output in IE for Phone Numbers

Hi Jamey,

Thanks for the tip. Actually I was already thinking of using entities however since these outputs are generated via ASP pages and there are several different pages with different output requirements which are already programmed the effort would have been substantial.

My expertise is in programming rather than HTML coding but finally what I found was to just add the character code meta tag to the HTML page output and this works without any issue. For example: <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

So the issue is closed.

I once again thank you for your tip.

Cheers,
Sharad.
ssharma is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-06-2008, 07:03 AM   #4 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,874
OS: Vista, various linux distros


Re: [SOLVED] Issue with HTML output in IE for Phone Numbers

Ah okay, cheers for posting the solution...

Cheers,
Jamey
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 11:03 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85