Background is not there....

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Background is not there....

Postby owii » Wed Apr 21, 2010 7:00 pm

Hello,

if i put a Background in my CSS

body {
background-image: url(http://www.mysite.com/seiten/bilder/bg-top.jpg);
background-repeat: repeat-x;
background-color: #f8ffff;
font-family: Arial, sans-serif;
font-size: small;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}

The Background is showing in your Design-Preview in Eclipse...

But if i run it as Web Application or Compile it ... the Background is not showing... what is wrong?

(I'am creating a normal new GWT Java Projekt with the Wizard)

I Think the background is showing 1-2 Seconds in the browser but then the Browser is white aigan looks like something is "overwriting" it with white color.

------------

ok, i just needed to modify some entries in the xml - solved the problem ;)
owii
 
Posts: 1
Joined: Wed Apr 21, 2010 6:52 pm

Re: Background is not there....

Postby Eric Clayberg » Thu Apr 22, 2010 4:27 am

Glad you figured out the problem.

In general, GWT/CSS usage questions like this should be posted to Google's GWT newsgroup.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest