Arantes Posted April 12, 2020 Share Posted April 12, 2020 Gostaria de adicionar um botão(imagem) em meu login html . Consegui adicionar normalmente , mas ele fica por baixo do html , sendo assim , o background do html tampa esse meu botão(imagem). O login é em html e css. Link to comment
Gw8 Posted April 12, 2020 Share Posted April 12, 2020 entao a questao do background tampar o seu botao pode ter varios motivos exemplo: element createBrowser ( int width, int height, bool isLocal [, bool transparent = false ] ) o browser nao ser criado com fundo transparente, voce tem que ser mais especifico. Sua html tem fundo como img encima do botao? utiliza o proprio gui ou dx para renderizar? Link to comment
Arantes Posted April 12, 2020 Author Share Posted April 12, 2020 Para fazer o createBrowser esta sendo assim : local initBrowser = guiCreateBrowser(0, 0, sx, sy, true, false, false) local browser = guiGetBrowser(initBrowser) Já no css esta assim : html, body { width: 100%; height: 100%; background: transparent; } body{ margin:0; color:#888888; background:#c8c8c8; background-image: url("../img/background.jpg"); background-repeat: no-repeat; background-size: cover; zoom: 0.9; font:600 16px/18px 'Open Sans',sans-serif; } Link to comment
Gw8 Posted April 12, 2020 Share Posted April 12, 2020 apaga essa linha e ver se o botao aparece. background-image: url("../img/background.jpg"); Link to comment
Arantes Posted April 13, 2020 Author Share Posted April 13, 2020 Tentei fazer isso , mas sempre fica branco no fundo , retirei todas as cores de fundo e tbm nada . Link to comment
Gw8 Posted April 13, 2020 Share Posted April 13, 2020 meu deuss dksjdk muda la guiCreateBrowser(0, 0, sx, sy, true, true, false) 1 Link to comment
Arantes Posted April 13, 2020 Author Share Posted April 13, 2020 Deu certo , muito obrigado ! Link to comment
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