Ok, this is what I did with CSS to get rid of the what space around
the page.
body {
margin:0px;
padding:0px;
border-style: none;
border-width: 0px;
outline-width: 0px;
}
This works great in making the item fit the window under IE 7 and 8.
The only thing I have not been able to get rid of is the area that
contains the page is sunken. Not sure how to remove this look. I am
trying to make the page blend in, so it looks like the rest of the
page. This is the only thing I have not been able to figure out.
Any recommendations?
On May 15, 4:51 am, Alyxandor <[email protected]>
wrote:
> Hm, I slogged through the code, but didn't really notice anything out
> of place... What I didn't see was any references to padding, try
> setting it to 0px as well. Then, inside the test page, do:
> Window.setMargin("0px 0px 0px 0px"); and Window.enableScrolling
> (false);, in case it's your div making scrollbars inside the frame.
> I've noticed that you can get scrollbars using iframes when the
> content inside is exactly the size of the content outside... Some
> other hacks you can use {for various browsers} is setting margin to
> -1px, setting overflow: visible !important; or hidden !important, {<-
> WILL work}. Setting overflow-x and overflow-y to anything but auto
> will always remove scrollbars...
>
> As for the white spaces, I could tell you exactly what it is, but my
> guess is it's the page body showing around your div. Is it possible
> to upload somewhere so I can inspect with Firebug? It makes css
> hacking soooooo easy! Just press F12, click the "inspect" button, and
> click on the element whose style you want to change. You can even get
> a bookmarklet that {kinda} works for IE7+, that's
> athttp://getfirebug.com/lite.html
> ...But, I'd recommend downloading the js as per their instructions,
> the bookmarlet tends to freeze my app, but that could also be because
> IE is rendering my page, my graphics loop is constantly updating
> values, the IE toolbar is reading those values, and then firebug tries
> to weasle in there too...
>
> Speaking of which, what browsers do you notice this in? IE6 adds a
> complimentary 10px horizontal padding to divs; you know, cos you
> always want it, right? Look up "clearing stylesheets for IE.
>
> Also, for css, quirksmode.org will save you many headaches.
>
> PS, forgive the strange hour of my reply.... I sleep during the day...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---