Re: [css-d] Beginners problem with nested div

2015-01-25 Thread Karl DeSaulniers
Google: set nested div half the width of its outer div Probably find a working example. HTH, Best, Karl Sent from losPhone > On Jan 22, 2015, at 10:39 PM, worik wrote: > > Friends > > I have problems getting my sizing of divs correct. > > > Given the HTML: > > A B C >E F G > > >

Re: [css-d] Beginners problem with nested div

2015-01-25 Thread Karl DeSaulniers
Set your position: and possibly display: Best, Karl Sent from losPhone > On Jan 22, 2015, at 10:39 PM, worik wrote: > > Friends > > I have problems getting my sizing of divs correct. > > > Given the HTML: > > A B C >E F G > > > .A { >width=100%; >border:2px solid blue; > } >

Re: [css-d] Beginners problem with nested div

2015-01-22 Thread Ken Robinson
On Thu, Jan 22, 2015 at 11:39 PM, worik wrote: > Friends > > I have problems getting my sizing of divs correct. > > > Given the HTML: > > A B C > E F G > > > .A { > width=100%; > border:2px solid blue; > } > .B { > width=50%; > border:1px solid red; > } > > I want to make the

[css-d] Beginners problem with nested div

2015-01-22 Thread worik
Friends I have problems getting my sizing of divs correct. Given the HTML: A B C E F G .A { width=100%; border:2px solid blue; } .B { width=50%; border:1px solid red; } I want to make the nested div half the width of the outer div. But they both expand to the fill width.