Inline auto issue

These are three related issues. The issue raised when implementing the Custom CSS code for the shrinking header. Witch works fine in general.