Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2005, 11:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default Decimal code for a special character

Hi All,

I am trying to find the decimal code for a special character
(th). For example, 7th floor.
In Word, when you type 7th, it makes (th) a small character and puts it on the top next to the number 7.


Thanks for your help,

:)

MCinar

Love all the creatures because of the creator.
__________________
MCinar

Love all the creatures because of the creator.
 
Old January 31st, 2005, 11:43 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

AFAIK there isn't any. :)

Use SUP or SPAN and style to your liking (if needed).

(o<
//\ =^..^=
 
Old February 1st, 2005, 10:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi meow,

I am creating a WORD document in ASP.
I will also need some other information.

Thank you for your reply,


MCinar

Love all the creatures because of the creator.
 
Old February 2nd, 2005, 01:41 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

Yes you could create superscript contents by using <sup> tag.

<html>
<body>
Superscript :: 7<sup>th</sup> <br><br>
Subscript :: H<sub>2</sub>O
</body>
</html>

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old February 2nd, 2005, 01:54 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

Not sure on what kind of info you are looking at creating Word file from ASP ... so i have attached a basic code snippet for the same.

Set WA = CreateObject("Word.Application")
Set WD = WA.Documents.Add()

Set WR = WD.Paragraphs.Add.Range
WR.InsertBefore("Testing")
WR.Style="Normal"
WR.Font.Bold = true

Wpath = Server.MapPath("mention the path where u want to save the doc")
WD.SaveAs Wpath & "\" & "test.doc"
WD.Close
WA.Quit

Set WD = nothing
Set WA = nothing

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old February 2nd, 2005, 01:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Maybe you meant to post this question in the ASP forum.

(o<
//\ =^..^=
 
Old February 2nd, 2005, 10:53 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Vadivel,

Thank you for your help. The information was very helpful.

I also have another question;

"I am trying to access a file which is on a different "Server" than where the "Web Server" is installed.
Both Novell and WEB servers are on the same network.
The file that I am trying to access is on the "Novell" server."

There is a logical drive "L" which points to the "NOVEL" server.

Thank you,


MCinar

Love all the creatures because of the creator.
 
Old February 3rd, 2005, 01:18 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

So what is the question :)

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old February 3rd, 2005, 04:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I don't know what the question is but I'm pretty sure it can't be done with HTML.

(o<
//\ =^..^=
 
Old February 3rd, 2005, 06:02 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

We have this set up, it's a bit fiddly, see this link:
http://support.microsoft.com/?kbid=316083

or search for "Gateway Services for Netware" on google.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
saxon:character-representation="decimal" ROCXY XSLT 3 November 9th, 2006 05:23 AM
Losing special character data mussitsch Classic ASP Professional 4 September 5th, 2006 02:29 PM
Validation for special character nazneen Java GUI 5 February 13th, 2006 03:13 PM
Special Character mg1966 Classic ASP Databases 2 December 13th, 2004 11:12 AM
HELP!!! the problem of handling special character kemin Classic ASP Databases 1 December 13th, 2003 01:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.