Jump to content

[HTML/CSS] I need help on how to make the background transparent


Juniorr

Recommended Posts

Posted

Hello, I have a resource here in html and when I put it in the MTA, it has a white background, I don't understand practically anything about html and css and I already tried to make the body background as transparent, but the background was white ?

 

body {
	background: transparent;
}

Does anyone know how to make it transparent to help me, please ?

  • Moderators
Posted

The problem has nothing to do with CSS, but with the configuration of the browser. See the 6e argument 'isTransparent', of the guiCreateBrowser function:

https://wiki.multitheftauto.com/wiki/GuiCreateBrowser

 

 

 

  • Like 1
  • Thanks 1

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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...