My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 197: Unwanted space at right/bottom if loading webpages
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Apr 2009


 
Reported by ro...@nullneunelf.de, Mar 15, 2009
Hi,

if i load the following file (test.htm) with nyro it will be displayed with
unwanted space on the right side and at the bottom of the page.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body style="margin:0;overflow:hidden">
<div style="background:red;width:100px">
Test<br>
Test<br>
Test<br>
Test<br>
Test
</div>
</body>
</html>

Just look at the attachment what i mean...

Thanks,
Damien
screen.gif
1.7 KB   View   Download
Mar 22, 2009
#1 Mamali.S...@gmail.com
minWidth: 400, // Minimum width
  minHeight: 300, // Minimum height
those are the default values. If you like to make smaller windows, add minWidth,
minHeight options
Apr 9, 2009
Project Member #2 nyro...@gmail.com
yes, but you also have this on the CSS:
div.wrapper div#nyroModalContent {
	padding: 5px;
}

So, in order to avoid any space, you should add this on your page:
<style type="text/css">
div.wrapper div#nyroModalContent {
	padding: 0;
}
</style>
<script type="text/javascript">
$(function() {
	$.nyroModalSettings({
		minWidth: 1,
		minHeight: 1
	});
});
</script>
Status: Fixed

Powered by Google Project Hosting