A A
Gratisanruf: 0800 - mediaplana
RSS

CSS: How to make a footer which really stays on the bottom

Sunday, 30. March 2008

Knowtebook

One problem Jonathan Longnecker run into pretty frequently when coding a site in to XHTML and CSS is making his footer dock to the bottom of the screen. It¢â‚¬â„¢s especially annoying if you have a page that¢â‚¬â„¢s short on content and the footer, which happens to be a different color that the body background doesn¢â‚¬â„¢t stay at the bottom of the browser window:

I can hear you say, ¢â‚¬Å“But why don¢â‚¬â„¢t you just do a fixed position on it. That¢â‚¬â„¢s easy enough.¢â‚¬ True, but if you do that then it¢â‚¬â„¢s always at the bottom of the screen no matter how tall the window is. So if I have a page with a lot of content that footer shouldn¢â‚¬â„¢t show up until the content is done. How do we fix this? Let me show you. Here¢â‚¬â„¢s what the problem looks like:

Footer is broken

(more…)

| Popularität: 13% | Tags:

Und was können Sie für Sie tun?

Kurznachrichten
  • Mediaplana ab August auch in Hamburg

  • Knowtebook bereits nach 1 Monat amortisiert dank Mediaplana

  • mediaplana startet neues Projekt KNOWTEBOOK. Weitere Details folgen in Kürze

Was unsere Kunden meinen
  • ~Liebe mediaplaner! Vielen Dank für Euren schnellen Support heute Nacht. Ihr wart sehr geduldig und präzise. Weiter so!! Ein Kunde fürs Leben, Vortex Musikclub
Expertise