Chris, in order for the top/right/bottom/left:0 trick and margin:auto; to work, that element needs a width/height (width to horizontally center, and a height to vertically center). Not ideal for a couple reasons - situations that truly call for position:absolute are rare, and also setting a fixed width/height, most of the time, is a poor choice to make.
On Thu, Jun 4, 2015 at 3:20 AM, Erik Visser <e...@erikvisser.net> wrote: > Erik Visser schreef op 04-06-15 om 03:00: > >> This is what i remember too. >> > > Excuses for bloating the list with a not quite helpful contribution. > > It was 3 am. But that's not a very good excuse. > > Luckily the real experts came in and helped you out. > > erik > > > > > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > 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/ > -- Ryan Reese ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/