Re: [css-d] enclosing a div in another one

2007-05-18 Thread James Hague
Yes, it actiually works on both FF and IE6. Thank you very much. Regards James On 5/19/07, ~davidLaakso <[EMAIL PROTECTED]> wrote: > > James Hague wrote: > > Thank you it works on IE6 - have just placed the line 'margin-top: > 125px' > > in the regContainer div code instead of the mainFrame. > >

Re: [css-d] enclosing a div in another one

2007-05-18 Thread ~davidLaakso
James Hague wrote: > Thank you it works on IE6 - have just placed the line 'margin-top: 125px' > in the regContainer div code instead of the mainFrame. > > However.. in FF the gray border disappears. > > Is there a hack for that . I wonder? > > Thanks > > I put the code I emailed to you and t

Re: [css-d] enclosing a div in another one

2007-05-18 Thread James Hague
Thank you it works on IE6 - have just placed the line 'margin-top: 125px' in the regContainer div code instead of the mainFrame. However.. in FF the gray border disappears. Is there a hack for that . I wonder? Thanks On 5/18/07, Brian Crescimanno <[EMAIL PROTECTED]> wrote: > The way the cod

Re: [css-d] enclosing a div in another one

2007-05-18 Thread James Hague
Thank you. It works alright on IE6. However the gray frame disappears on FF. Also, in IE6, I am not sure if the is needed. Have tried it without it and it still gives the desired effect. I was wondering if there was an explanation for the position:relative not working? Thank you On 5/18/07, ~

Re: [css-d] enclosing a div in another one

2007-05-18 Thread James Gadrow
James Hague wrote: > On 5/18/07, *Brian Crescimanno* <[EMAIL PROTECTED] > > wrote: > > The required effect is to get the outer 'main frame' div - with its > gray border - to enclose the inner 'regContainer' div, irrespetive of > 'regContainer' height. > > but yo

Re: [css-d] enclosing a div in another one

2007-05-18 Thread Brian Crescimanno
The way the code rendered on my screen was to push the box below rather than to overlap; this was due to your use of relative positioning which changes where the content is displayed; but not where it "actually exists" in the flow. This code works for me in both IE and Firefox, and from your descr

Re: [css-d] enclosing a div in another one

2007-05-18 Thread James Hague
On 5/18/07, Brian Crescimanno <[EMAIL PROTECTED]> wrote: > > James Hague wrote: > > > hi .. > > > > > > in an example like the one below .. how can one enclose the > regContainer div > > > inside the mainFrame div irrespective of the content of the > regContainer. > > > The clearer div is not do

Re: [css-d] enclosing a div in another one [correction]

2007-05-18 Thread ~davidLaakso
~davidLaakso wrote: > James Hague wrote: >> >> how can one enclose the regContainer div >> inside the mainFrame div irrespective of the content of the >> regContainer. >> The clearer div is not doing the trick! a large content of >> 'regContainer' >> pushes its lower edge below the main frame!

Re: [css-d] enclosing a div in another one

2007-05-18 Thread Brian Crescimanno
On 5/18/07, James Gadrow <[EMAIL PROTECTED]> wrote: > James Hague wrote: > > hi .. > > > > in an example like the one below .. how can one enclose the regContainer div > > inside the mainFrame div irrespective of the content of the regContainer. > > The clearer div is not doing the trick! a large

Re: [css-d] enclosing a div in another one

2007-05-18 Thread ~davidLaakso
James Hague wrote: > > how can one enclose the regContainer div > inside the mainFrame div irrespective of the content of the regContainer. > The clearer div is not doing the trick! a large content of 'regContainer' > pushes its lower edge below the main frame! > Please help? James > > Doe

Re: [css-d] enclosing a div in another one

2007-05-18 Thread James Gadrow
James Hague wrote: > hi .. > > in an example like the one below .. how can one enclose the regContainer div > inside the mainFrame div irrespective of the content of the regContainer. > The clearer div is not doing the trick! a large content of 'regContainer' > pushes its lower edge below the mai

[css-d] enclosing a div in another one

2007-05-18 Thread James Hague
hi .. in an example like the one below .. how can one enclose the regContainer div inside the mainFrame div irrespective of the content of the regContainer. The clearer div is not doing the trick! a large content of 'regContainer' pushes its lower edge below the main frame! Please help? James -