Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » CSS: 'background-image' does not work
CSS: 'background-image' does not work [message #777944] Wed, 11 January 2012 02:43 Go to previous message
c h is currently offline c h
Messages: 4
Registered: February 2011
Location: Wertheim
Junior Member
Hello,

i want to display an background image in a view.

The wiki says:
Button { background-image: some url }

So I create a plain view with a Button (incl. GridData.FILL_BOTH) and the following CSS code:

Button {
	background-color: #FF0000 #00FF00 100%;
	background-image: url('./images/button_bg.png');
	// background-image: url('platform:/plugin/net.my.package/images/button_bg.png');
}


The bg-color will be painted, the image not (both variants). I use Win 7 x86-64 and Eclipse 4.2 M3 with the e4 Tools from e4/updates/0.12-I-builds/.

Any ideas?
 
Read Message
Read Message
Previous Topic:Eclipse Search in e4
Next Topic:Dependency Injection in Abstract Classes
Goto Forum:
  


Current Time: Sat May 25 12:37:53 EDT 2013

Powered by FUDForum. Page generated in 0.01669 seconds