Thanks. I have Firebug installed but I'm not very familiar with how to navigate through it. Perhaps you'd like to take a peak? Here is the URL for the app. Notice the margin between the top of the table and the browser window:
http://www.epcinternet.com:8080/StockQuotesIframe/Finance.html On Mar 5, 2:10 pm, Chris Lercher <[email protected]> wrote: > Hi Russ, > > I don't see a top margin in my application. I didn't even set anything > like this in my css (I'm using <inherits > name='com.google.gwt.user.theme.standard.Standard'/> in my .gwt.xml) > > Generally, tools like firebug are very nice when debugging CSS. Its > Layout panel makes it really easy to see, where the margin comes from, > and its Style panel can tell you, which CSS file is responsible for > the margin! > > Chris > > On Mar 5, 7:34 pm, Russ <[email protected]> wrote: > > > > > Thank you for the reply. > > > When creating a new GWT project in Eclipse, the wizard already creats > > a MYAPP.css and places it in the war (public) folder. It also adds a > > link in the html file to include MYAPP.css. > > > Will modifications to MYAPP.css file trump all others - namely the > > standard.css and standard_rtl.css? Will MYAPP.css relpace the other > > css files, or simply add to (cascade) them? > > > For some reason I still can't get that pesky top-margin down to zero. > > Even if I do this in MYAPP.css: > > > body { > > margin-top:0px; > > margin: 0px; > > border: 0px; > > padding: 0px; > > > } > > > Thanks again, > > -Russ > > > > It depends :) I don't know the specifics of your application, nor which > > > version of GWT you're using. There are many ways to reach your goal > > > using GWT. Here is one: > > > > Create a Public folder; > > > Put a file named MYAPP.css in that folder; > > > Modify your MYAPP.gwt.xml to call out that CSS or modify MYAPP.html to > > > load that css; > > > Compile your application. This step will copy the CSS to the same > > > directory as other compilation results; > > > Test your app to ensure that the CSS file loads (it will be empty, but > > > your server logs should show the request); > > > > Choose a widget whose style you want to override; > > > Find its class selector in the documentation or the source code; > > > Put that definition into MYAPP.css; modify it as appropriate.- Hide > > > quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
