Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by asimo3000 on Jun 26, 2008 02:03
open dhtmlx forum
dhtmlxGrid

Hello,

I got a spacing between the first div

<div id="userTableGrid" class="gridbox gridbox_light" action="identityTable.action" style="width: 945px; height: 67px; cursor: default;">

and the first table.

<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed;">

The table has a margin of 10px from the top of the div. But it isn't so defined in any stylsheet.
I got this spacing also with another skin. (actually skin_light).

Thanks!
Answer posted on Jun 26, 2008 02:54
Please check the source DIV container , which you are using for grid creation.
If it contains some data - it will not be removed during grid creation ( so if it has few whitespaces as content - it may cause described situation )
Answer posted by asimo3000 on Jun 26, 2008 04:25
Hey Guys,

thanks a lot!
I removed the whitespace between the div and now it works fine.

I had a construction like this:
<div>&nbsp;</div>

With best regards!