My flags are misaligned in the Twenty Eleven menu

If you are using the flags provided with Polylang, just add the following css rule to the style.css file:

#access img {
	display: inline;
}

It is much better to create a child theme to avoid loosing your modification when updating the theme.