1 Replies - 391 Views - Last Post: 24 March 2013 - 01:11 PM

#1 Keylogger  Icon User is offline

  • D.I.C Regular

Reputation: 7
  • View blog
  • Posts: 343
  • Joined: 14-February 11

A blank whitespace appears

Posted 24 March 2013 - 12:56 PM

Hi guys,

I have to put the following code somewhere!
	<div id='jqxwindow'>
		<div id="headerr">Welcome</div>
		<div style="align: center; font-size: 12px; font-family: verdana;" id="contentt">
			<img src="http://cdn5.iconfinder.com/data/icons/Hosting_Icons/32/website-builder-px-png.png" align="left"/>
			<p>Small text</p>
		</div>
	</div>

$(function() {
	$("#undo").on("click", function() {
	  $("#jqxwindow").jqxWindow({ width: 265, height: 175, resizable: false});
          $("#jqxwindow").jqxWindow('open');
        });
});

The problem is, wherever I put the code (in body top, in body bottom, out of body), it creates me a huge empty space in my layout.
So far, I tried this options:
<br style="clear:both" />
overflow:hidden

None of them removed the empty space.

Is This A Good Question/Topic? 0
  • +

Replies To: A blank whitespace appears

#2 Keylogger  Icon User is offline

  • D.I.C Regular

Reputation: 7
  • View blog
  • Posts: 343
  • Joined: 14-February 11

Re: A blank whitespace appears

Posted 24 March 2013 - 01:11 PM

Aff, it seems I just solved it. I get the best ideas when I come here :P
style="overflow: hidden; clear: both; visiblity: hidden; height: 0;"


If is not the best way, let me know.

Thank you guys.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1