Skip to content

Instantly share code, notes, and snippets.

@gunnarbittersmann
Created October 31, 2013 16:37
Show Gist options
  • Select an option

  • Save gunnarbittersmann/7252842 to your computer and use it in GitHub Desktop.

Select an option

Save gunnarbittersmann/7252842 to your computer and use it in GitHub Desktop.
footer centered w/ right-aligned element
/**
* footer centered w/ right-aligned element
*/
footer
{
position: relative;
text-align: center;
padding-right: 5em;
}
footer a
{
position: absolute;
right: 0;
}
<footer id="footer1">
<a href="">Impressum</a>
1. Wort, 2. Wort, 3. Wort
</footer>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment