← HTML + CSS

Footer > no fundo

Lida 8153 vezes

Offline

Diogo Pinto 
Administrador
Mensagens 4400 Gostos 371
Feedback +4

Troféus totais: 37
Trófeus: (Ver todos)
Avatar Search Level 6 Linux User Mobile User Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Define na div do conteudo, min-height: 80%. Não faço a ideia se isto será possível ;)
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

DiguiVirus, estou a usar um Min-Height no exemplo que dei, mas com altura fixa. Experimentei com uma percentagem e não deu :(
Offline

Ricardo75 
Membro
Mensagens 1660 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Offline

João Godinho 
Membro
Mensagens 1755 Gostos 2
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Grande confusão... vê se é isto que queres:
http://matthewjamestaylor.com/blog/keeping-footers-at-the-bottom-of-the-page
Testado e aprovado, mas aconselho position:fixed;
Offline

Riey 
Membro
Mensagens 1001 Gostos 0
Feedback +4

Troféus totais: 30
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

comigo nao está a funcionar....
Offline

Ricardo75 
Membro
Mensagens 1660 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

:D
Podes dar um exemplo exacto do que queres?? É que acho que ainda ninguém percebeu!
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

Offline

Riey 
Membro
Mensagens 1001 Gostos 0
Feedback +4

Troféus totais: 30
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

funciona, eu devo ter algo mal nos ficheiros html, noutro forum deram-me outras maneiras que com eles funcionou e comigo não...

amanha vou tentar ver a situação no desktop, isto de tar a programar num netbook de 10" no bloco de notas não é nada, ate tenho de mudar a extensao dos ficheiros .php para .txt para editar,  loool
Offline

frsantos 
Membro
Mensagens 1458 Gostos 0
Troféus totais: 35
Trófeus: (Ver todos)
Linux User Mobile User Apple User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter

tb tentei usar e tb não funciona... já aguém conseguiu resolver isto?
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

tb tentei usar e tb não funciona... já aguém conseguiu resolver isto?
Se o ficheiro de Demo funciona, também tem que funcionar nos teus ficheiros...

Faz copy paste integral e vê se funciona ;)
Offline

Riey 
Membro
Mensagens 1001 Gostos 0
Feedback +4

Troféus totais: 30
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

eu tou a ver que é melhor é editar o footer para um footer que possa estar em qualquer lugar da pagina... lol
Offline

Ricardo75 
Membro
Mensagens 1660 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

tb tentei usar e tb não funciona... já aguém conseguiu resolver isto?
Funciona, já testei o código e está a funcionar em todos os browsers recentes (pelo menos em FF, Safari, Chrome, IE8 e Opera).