How to change the top left margin of Jquery dynatree?
In the ui.dynatree.js, what is the property/value that needs to be changed for the tree to appear at top l开发者_如何学运维eft corner of the page? i.e. there should be no left and right margin. I am unable to find that one value that needs to changed. Can anyone please help.
This should move the tree container to an absolute position:
<html>
<head>
[...]
<style type="text/css">
#tree {
position: absolute;
top: 50px;
left: 100px;
}
</style>
<script type="text/javascript">
$(function(){
$("#tree").dynatree({
[...]
});
});
</script>
</head>
<body>
[...]
<div id="tree"> </div>
</body>
</html>
精彩评论