html - give margin bottom inside dd class -
i want give margin bottom them
code shown below,
<div class="dd" id="menu_list_drag"> <?php echo $li; ?> </div>
where $li
shown below,
foreach ($p1 $p) { $inner_li = ""; $p2 = array_filter($menu, function($a)use($p) { return $a['parent_id'] == $p['id']; }); if ($p2) { $inner_li = $this->generate_li($menu, $p['id']); } $li .= "<li class='dd-item' data-id='" . $p['id'] . "' id='menu-list'><div menu-id='" . $p['id'] . "' id='drag' class='dd-handle'>" . $p['title'] . "<div style='float:right; margin-bottom:10px' class='dd-nodrag'>" . "<a class='btn-group btn-group-xs edit_menu' data-toggle='tooltip' id='" . $p['id'] . "' data-original-title='edit' onclick='edit_menu($(this))' title='edit menu'>" . "<i class='btn btn-default edit_area fa fa-pencil'></i></a>" . "<a class='btn-group btn-group-xs delete_menu' id='" . $p['id'] . "' data-toggle='tooltip' data-original-title='delete' delete_type='delete_single' onclick='delete_menu($(this))' title='deactivate menu'>" . "<i class='btn btn-default fa fa-trash-o'></i></a></div></div>" . $inner_li . "</li>"; } $ol = "<ol class='dd-list'>" . $li . "</ol>";
data comes fine unable give margin bottom dd class menu please me thank you...
i have used
.dd-handle{height:35px;}
and worked me...!!
Comments
Post a Comment