Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting special characters: àé with html

Status
Not open for further replies.

wrbodine

Programmer
Aug 24, 2000
302
US
Hi,

I know that some special characters can be included on HTML pages with the <sup> tag. Is there a list of these somewhere?

Right now, I'm wanting the characters à and é (for déjà vu!). When I just copy these in from Microsoft Word, they end up being smaller than I think they might be some other way.

Thanks,
Ray
 
à - &agrave; or &#224;
é - &eacute; or &#233;
 
Thanx for the web site!

I used the special characters from there, i.e. &#233; and &#224; and they are just as small as when you copy the symbols in from Word. I guess that's just the size they come in, so we'll go with that. I was hoping that the letters would look as big as normal ones.

Thanks,
Ray

P.S. - I don't know what I was thinking about the <sup> tag; of course that's for superscript!
 
I have no idea why these would look small. I use these on my website and everything looks normal. Are these characters being affected by some style setting?

Here's a real life example from my website:

<p>
<B>Kimberl&eacute; Crawford
</B></p>

I use a stylesheet that sets the font size for everything within <p></p> and <b></b> tags.
 
Hey,

Actually, on the code side of things the é doesn't look any smaller, its only when its displayed in the browser that that happens....
 
I still think a style sheet or in-line style could be to blame. They wouldn't make your code look different, but they would affect the way it looks in your browser.

It may also be a browser setting. Have you tried looking at it in more than one browser?
 
You're right about the browsers treating it differently!!! This problem didn't occur in Netscape 6, but it does in IE 5.5 (with the same code!!!!!)

Bizarre.... I wonder if the style settings still would affect this?
 
Netscape and IE often interpret style settings differently.

I can take a look at it --What's your URL?

Or you can just post the code here.
 
Thanks so much for your help!

The code won't actually be on the net for 2 more days, and the page uses lots of include files, so I'll post the link then...
 
Hey cactus1000

The link is
You'll notice in Netscape that, while these letters are great (and messed up in IE), the image with the man and boy is down below the left side logo, instead of beside it, like it is in IE (the way it is in code). Another mystery that I'm trying to solve....

Thanks,
Ray
 
Well, it's not your stylesheet -- I cut and pasted this bit of code into a new html page with no stylesheet and the results were the same. IE and Netscape just display the MS Sans Serif font differently when it comes to these special characters.

My solution (cheesy though it is...) was to change the font to Geniva Sans Serif only for those letters:

<FONT FACE='MS Sans Serif,Geneva,sans-serif' COLOR='#006666' SIZE='-1'>d<FONT FACE=',Geneva,sans-serif' COLOR='#006666' SIZE='-1'>&#233;</font>j<FONT FACE='Geneva,sans-serif' COLOR='#006666' SIZE='-1'>&#224;</font><FONT FACE='MS Sans Serif,Geneva,sans-serif' COLOR='#006666' SIZE='-1'>vu?</font>

It's pretty hard to tell that the font changes only for those letters -- I doubt anyone will notice, and it looks better than the small letters.

As for the image of the boy and his dad, it looks O.K. to me, but I don't have Netscape 6.0, just 4.7.

I would suggest that you assign the &quot;nowrap&quot; attribute to the &quot;<td>&quot; tag that contains the image and see if that helps.

Good Luck!
 
Hi,

I just use the 'charmap' application that windows provides
and find those special characters.

smiles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top