General developer forum

Login page -2000px padding question

 
Rocking some shades
Login page -2000px padding question
 

Hi,

I was wondering why .loginbox.twocolumns .loginpanel and .loginbox.twocolumns .signuppanel have -2000px margin-bottom and 2000px padding-bottom.

It has caused a small problem which I have overcome by just overriding the styles. But I was still wondering what the benefit of it was.

Thanks very much,

Michael

 
Average of ratings: -
Picture of Chris Egle
Re: Login page -2000px padding question
 

Hi Michael,

This makes the "height"  for .loginpanel and .signuppanel equal and fill the parent div .loginbox.twocolumns.  If you assign a background color to .loginpanel and .signuppanel  and turn off those padding and margin rules, you'll see how it works. smile

 
Average of ratings: Useful (1)