Reputation: 13
I can not get rid of the border in a gwt frame
here is my css rule
.gwt-Frame {
overflow-x: hidden;
overflow-y: hidden;
color: white;
border: 0px none;
margin: 0px
}
what am I doing wrong? It is really frustrating I tried this for hours? help please?
Upvotes: 1
Views: 1773
Reputation: 3380
You could just add !important tag infront of your css rule
border: 0px none !important;
Upvotes: 1
Reputation: 64
Make sure you are applying css correctly i.e. using ensureInjected()
if its in CssResource
, in app.gwt.xml
check you included theme and verify css using any developer tool (firebug) in browser.
You can always use
frame.getElement().getStyle().setBorderWidth(0, Unit.PX);
Upvotes: 3