Now the inline style appears only if necessary