Hi,
I'm not sure why Opera rounds like this, personally I've never seen the
issue,

Just wanted to point out that 12.5% of 4000 == 500 not 320.
e.g. 4000 * 12.5 /100 not 4000 / 12.5

cheers
Luke

2009/8/5 ピエール・アンリ・ラヴィン <yakeson_chih...@yahoo.co.jp>

>
> Good day,
>
> I don't understand the following issue with Opera:
>
> Let's set a container to 4000px, and children elements to 12.5%
> 4000px / 12.5 = 320px.
> But for Opera,
>  * 12.5px => 12px : I can understand
>  * 12.5% => 12% : I don't understand
>
> It works well with recent browsers but Opera is still rounding the
> result ( % or px or em or whatever ) even if the ratio is pixel right. I
> understand we could argue for a whole life about how managing '320.5px'
> for example, but why default Opera is rounded the number before
> computing the styles ?
>
> Thanks for your answers and your feedbacks
>
> ピエールランリ
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> *******************************************************************
>
>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to