Jump to content

Recommended Posts

Posted

Boas

Será que dá para fazer um script em PHP de modo que a imagem de background tenha exactamente o mesmo tamanho da resolução do monitor??A ideia era não haver espaços em branco e que a dita imagem ocupe na totalidade o monitor independentemente da resolução de cada um...se for possivel qual a função que para captar a resolução do computador cliente??

Desde já agradeço

MCITP-MCTS-MCP

Posted

pões auto nas height e weight e penso que deve funcionar 😉 quanto a capturar a resolução do êcra não conheço mas gostava de saber se existir...

Our lives begin to end the day we become silent about things that matter - Martin Luther King

Posted

existe, mas acho que tem que ser em javascript (foi a unica q eu vi...)

Ya, eu também só vi com JavaScript PHP acho que não...

Our lives begin to end the day we become silent about things that matter - Martin Luther King

  • 2 weeks later...
Posted

Eu axo (tenho quase a  certeza) que existe uma forma de fazer isso com CSS, se bem que assim de repente não me lembro onde vi isso... Mas também, quase de certeza que não iria funcionar no IE...  👍 :wallbash:

"Pensa positivo: tudo pode piorar"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.