Paulo1471 Posted July 12, 2012 at 05:23 PM Report Share #468496 Posted July 12, 2012 at 05:23 PM (edited) Boas !! Há alguma maneira de colocar uma div no fundo de uma página automaticamente ? Sem ter que fazer </br> várias vezes ? Ou criar um div em branco com dado altura ? Obrigado !! Edited July 12, 2012 at 08:36 PM by Paulo1471 Link to comment Share on other sites More sharing options...
Solution pmg Posted July 12, 2012 at 05:56 PM Solution Report Share #468500 Posted July 12, 2012 at 05:56 PM (edited) Usa o atribute "position: fixed", com o 'bottom' e o 'left' como gostares mais ... <!DOCTYPE html> <html> <head> <title>Bottom div</title> <style type="text/css"> .normal { background-color: pink; color: black; width: 100%; } .bottom { background-color: cyan; color: black; width: 100%; position: fixed; bottom: 20px; left: 0; } </style> </head> <body> <div class="normal">gkjlfhgkdfhgk hkh fkjhfkdj hksdjhf ksdjhfdsd</div> <div class="bottom">kjhfdk fgdksjhkjdsh ksdjhkd jhksdjhk jhsfsdd</div> </body> </html> PS: A tag do codigo nao corresponde a linguagem utilizada 😉 Edited July 12, 2012 at 05:58 PM by pmg 1 Report What have you tried? Não respondo a dúvidas por PM A minha bola de cristal está para compor; deve ficar pronta para a semana. Torna os teus tópicos mais atractivos e legíveis usando a tag CODE para colorir o código! Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted July 12, 2012 at 06:48 PM Report Share #468506 Posted July 12, 2012 at 06:48 PM http://ryanfait.com/sticky-footer/ IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
Paulo1471 Posted July 12, 2012 at 07:18 PM Author Report Share #468511 Posted July 12, 2012 at 07:18 PM (edited) Obrigado !! A resposta do pmg ajudou bastante !! O sticky footer nao funcionou como queria , mas obrigado na mesma. PROBLEMA RESOLVIDO !! Edited July 16, 2012 at 03:19 PM by Paulo1471 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now