Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to align the footer in HTML

 
gavin sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gavin,
This works. I had to remove the position absolute in order to add the centering CSS. You can see a working example of the centering with this fiddle

 
gavin sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using this code makes text align at the center but it doesnt stick at the bottom of the page.. how to do that ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic