PDA

View Full Version : special characters in addon


jdleung
03-23-2006, 02:18 AM
I want to insert two special characters "▼,▲" into my addon,but I wonder if it can be displayed in all the browser correctly?

or any better suggestion on displaying up-arrow and down-arrow?

Thanks.

Connie
03-24-2006, 05:01 PM
if it is UTF-8 and in a common used font you have the chance that it will be displayed

all templates should be in UTF-8, but from my experience, special characters is always difficult, some users might run into problems

jdleung
03-24-2006, 06:55 PM
I try to make it like below:

up-arrow: <font style=' line-height:3px;'>.<br>..<br>...</font>

down-arrow: <font style=' line-height:3px;'>...<br>..<br>.</font>

they two align=center.

but I dont know why the last line height is bigger than the two above it. just like the last <br> is replaced with <p>.

and I try to put one more line "<br>....", still this line is further than the above.

something like below:
.
..

...

Thanks.

Connie
03-24-2006, 07:21 PM
up-arrow: <font style=' line-height:3px;'>.<br>..<br>...</font>

down-arrow: <font style=' line-height:3px;'>...<br>..<br>.</font>

I have no answer in the moment for what you are doing, but for sure <font..> is not ok, it is not valid HTML and should not be used

if you reckon on lineheights by adding <br> you also will run into problems

that is absolutely no good HTML and it will break the validity of the complete photoblog ...

nobody here who might assist? I am sorry, I have not time

jdleung
03-25-2006, 03:42 PM
Thanks, Connie.