Jump to content

[ AJUDA ] dxDraw em HTML


Recommended Posts

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

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...