[css-d] percents inside em container in fluid site

2013-02-25 Thread Laura Valentino
I'm trying to wrap my head around how to use percentages inside a container specified in ems...or is this a bad idea? I used ems to specify the max-width of the main container, as I think this will limit the upper width while still allowing downwards fluidity. Inside the container are 2 floated

Re: [css-d] percents inside em container in fluid site

2013-02-25 Thread Tom Livingston
On Mon, Feb 25, 2013 at 11:48 AM, Laura Valentino la...@vidmot.com wrote: I'm trying to wrap my head around how to use percentages inside a container specified in ems...or is this a bad idea? I used ems to specify the max-width of the main container, as I think this will limit the upper width

Re: [css-d] percents inside em container in fluid site

2013-02-25 Thread Laura Valentino
Oh wait...is it that the padding counts towards the total? That would make sense :) Laura On Mon, Feb 25, 2013 at 4:48 PM, Laura Valentino la...@vidmot.com wrote: I'm trying to wrap my head around how to use percentages inside a container specified in ems...or is this a bad idea? I used ems to

Re: [css-d] percents inside em container in fluid site

2013-02-25 Thread Tom Livingston
On Mon, Feb 25, 2013 at 11:54 AM, Laura Valentino la...@vidmot.com wrote: Oh wait...is it that the padding counts towards the total? That would make sense :) Laura Yes, and older IEs handle the box model in their own special way. ;-) -- Tom Livingston | Senior Interactive Developer |

Re: [css-d] percents inside em container in fluid site

2013-02-25 Thread Tom Livingston
Also, add the box-sizing to all necessary elements, not just 'div'. :-) On Mon, Feb 25, 2013 at 11:56 AM, Tom Livingston tom...@gmail.com wrote: On Mon, Feb 25, 2013 at 11:54 AM, Laura Valentino la...@vidmot.comwrote: Oh wait...is it that the padding counts towards the total? That would make