Re: [css-d] decimals in widths?

2007-11-02 Thread David Laakso
Brian Cummiskey wrote:
> Hi all,
>
> I have a dynamic list of items that displays inline in floated div's.
>
> I was doing some math on how many, and out of the available space, to 
> split it evenly (as they are aligned center)
>
> ie, wrapper is 500px
> 2 items
> each gets 250px of space/margin width.
>
> i have an odd shape on this one page, and the server-side math has 
> created 3 div's to fill the space as:
>
>
>
> within 370px of a wrapper.
>
>
> It seems to display fine in everything i've looked at with it, but i'm 
> curious if this is a bad idea?
>
> Thanks
>
>   


Good grief, man-- lighten up, and let go...

Artists who seek perfection in everything are those who cannot attain it 
in anything.  
--  Eugene Delacroix (1798 - 1863)


Best,
~dl

-- 
http://chelseacreekstudio.com/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] decimals in widths?

2007-11-02 Thread Mike Tierney
(Smarter folk, please feel free to correct me if I'm wrong... )
Pixels are inherently a binary unit - either it's a whole pixel that's 
active or a whole pixel that's inactive, so a fractional pixel doesn't 
exist - but the browser is probably seeing your decimal unit, and is 
either rounding up or down (depending on how it's programmed to handle 
that).  I don't know if it'll cause problems in any sort of immediate 
sense, but due to the fact that you never really know what the users are 
going to do to your website.

-Michael

Brian Cummiskey wrote:
> Hi all,
>
> I have a dynamic list of items that displays inline in floated div's.
>
> I was doing some math on how many, and out of the available space, to 
> split it evenly (as they are aligned center)
>
> ie, wrapper is 500px
> 2 items
> each gets 250px of space/margin width.
>
> i have an odd shape on this one page, and the server-side math has 
> created 3 div's to fill the space as:
>
>
>
> within 370px of a wrapper.
>
>
> It seems to display fine in everything i've looked at with it, but i'm 
> curious if this is a bad idea?
>
> Thanks
>
>
> __
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>   

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] decimals in widths?

2007-11-02 Thread Brian Cummiskey
Hi all,

I have a dynamic list of items that displays inline in floated div's.

I was doing some math on how many, and out of the available space, to 
split it evenly (as they are aligned center)

ie, wrapper is 500px
2 items
each gets 250px of space/margin width.

i have an odd shape on this one page, and the server-side math has 
created 3 div's to fill the space as:

 

within 370px of a wrapper.


It seems to display fine in everything i've looked at with it, but i'm curious 
if this is a bad idea?

Thanks


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/