Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Floating numbers in %
 

lacibaci




quote this post edit post

IP Loged report this post

Old Post  09-15-05 - 04:21 AM  
Can I use floating numbers when specifying width in %?  For example:
"width: 5.5%"

Lac



Post Follow-Up to this message ]
Re: Floating numbers in %
 

Stan Brown




quote this post edit post

IP Loged report this post

Old Post  09-15-05 - 09:26 AM  
On 14 Sep 2005 17:28:03 -0700 in
comp.infosystems.www.authoring.stylesheets, lacibaci favored us
with...
> Can I use floating numbers when specifying width in %?  For example:
> "width: 5.5%"

From <http://www.w3.org/TR/CSS21/syndata....-def-percentage>
The format of a percentage value (denoted by <percentage> in
this specification) is a <number> immediately followed by '%'.

And from http://www.w3.org/TR/CSS21/syndata....alue-def-number
A <number> can either be an <integer>, or it can be zero or
more digits followed by a dot (.) followed by one or more
digits.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/20...e_wont_help_you


Post Follow-Up to this message ]
Re: Floating numbers in %
 

lacibaci




quote this post edit post

IP Loged report this post

Old Post  09-16-05 - 12:39 AM  
So I guess the answer is yes.  If this is the case, then
Mozilla/Firefox doesn't honor it.  If I set the with to 99.5% they just
ignore the number after the decimal point.  It seems to work correctly
in IE.

Lac



Post Follow-Up to this message ]
Re: Floating numbers in %
 

Stan Brown




quote this post edit post

IP Loged report this post

Old Post  09-16-05 - 12:39 AM  
On 15 Sep 2005 05:38:13 -0700 in
comp.infosystems.www.authoring.stylesheets, lacibaci favored us
with...
> So I guess the answer is yes.

To _what_? We're not mind readers.

http://oakroadsystems.com/genl/unice.htm#googlefu

> If this is the case, then
> Mozilla/Firefox doesn't honor it.  If I set the with to 99.5% they just
> ignore the number after the decimal point.  It seems to work correctly
> in IE.

That's nice. Now if only we knew what you were talking about, and if
only you had provided a URL.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/20...e_wont_help_you


Post Follow-Up to this message ]
Re: Floating numbers in %
 

lacibaci




quote this post edit post

IP Loged report this post

Old Post  09-16-05 - 12:39 AM  
What I was trying to say is that according to w3c draft
(http://www.w3.org/TR/CSS21/syndata....alue-def-number) I should be
able to specify width in % as a real number.  For example:
width: 5.5%.  Mozilla/Firefox are ignoring the part after the decimal
point.  The IE6 works as expected.

Lac



Post Follow-Up to this message ]
Re: Floating numbers in %
 

Obvious




quote this post edit post

IP Loged report this post

Old Post  09-17-05 - 12:43 AM  
On 15 Sep 2005 10:07:25 -0700, lacibaci wrote:

> What I was trying to say

Yes but your still not quoting who or what you are replying to, learn a
little netiquette. Quote the relevant parts of the post you are replying
to!


Post Follow-Up to this message ]
Re: Floating numbers in %
 

Obvious




quote this post edit post

IP Loged report this post

Old Post  09-17-05 - 12:45 AM  
On 16 Sep 2005 07:36:44 -0700, lacibaci wrote:

> If you don't have anything useful to say buzz-off troll.

and if you can't be arsed to play by the rules that the majority of us
adhere to don't expect help.

Maybe I was over estimating you intelligence, but then if your incapable of
using a proper newsreader and have to resort to GG maybe not.


Post Follow-Up to this message ]
Re: Floating numbers in %
 

Stan Brown




quote this post edit post

IP Loged report this post

Old Post  09-17-05 - 09:27 AM  
On 15 Sep 2005 10:07:25 -0700 in
comp.infosystems.www.authoring.stylesheets, lacibaci favored us
with...
> What I was trying to say is that according to w3c draft
> (http://www.w3.org/TR/CSS21/syndata....alue-def-number) I should be
> able to specify width in % as a real number.  For example:
> width: 5.5%.  Mozilla/Firefox are ignoring the part after the decimal
> point.  The IE6 works as expected.

Did you read the reference I gave you? Here it is again:

http://oakroadsystems.com/genl/unice.htm#googlefu

If you're not prepared to follow Usenet conventions, many people will
ignore you. I'm one of them, after this.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/20...e_wont_help_you


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 06:26 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top