[thelist] (X)HTML: %age widths, decimal???

Chris W. Parker cparker at swatgear.com
Fri Sep 6 19:06:01 CDT 2002


> -----Original Message-----
> From: Donald Noble [mailto:donald at drnoble.co.uk]
> Sent: Friday, September 06, 2002 4:52 PM
>
> Hi, quick question I hope, can percentage widths in (X)HTML be decimal
> numbers? ie can you have width="12.3%"?

i'm going to guess the answer is no. but since i'm not sure i suggest
you try it and see what happens.

> Does this caus problems with any browesers?

i don't know about this either.

> The images are for graphs on a simple poll for my website.

in that case it probably doesn't need to be scientific. i'd say just
round to the nearest whole number. i'm pretty sure no one is going to
notice, or care.

<on-the-verge-of-being-nasty-sarcasm>
"mom! mom!"

"yes?"

"oh my gosh mom! check this out! there's this guy and he has a website
and he has these things where you can vote and they're called polls and
stuff. you know what i mean? like when you vote for the presi..."

"yes, i understand dear."

"ok. so anyways, look at this! the percentage says 24.5778142% but the
graphic only shows  like 25%!!! hahahaha!!"

"...?... that's nice dear."
</on-the-verge-of-being-nasty-sarcasm>


sorry, i just couldn't resist.
chris.



More information about the thelist mailing list