| Issue 197: | Unwanted space at right/bottom if loading webpages | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
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
Mar 22, 2009
#1
Mamali.S...@gmail.com
Apr 9, 2009
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
|
||||||||