Read more

News flash: Absolute CSS positioning on opposite sides is not a problem

Arne Hartherz
May 16, 2013Software engineer at makandra GmbH

Back in the old days, we couldn't do something like that:

.foo {
  position: absolute;
  bottom: 0;
  /* This was bad: */
  left: 10px;
  right: 10px;
}
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

Why? Because IE5 and IE6 (which a majority of people used back then) failed horribly trying to render it.

I've now checked if this is still an issue with any browser that's not from the stone age. \
Turns out all is well -- except if you have to support IE6 and below, but then you're in some other kinds of trouble.

It works in all sane browsers, and Internet Explorer 7, 8, 9, and 10. \
So go ahead and use it. It's long overdue! ;)

You can find the example that I tested on jsFiddle Show archive.org snapshot .

Posted by Arne Hartherz to makandra dev (2013-05-16 14:48)