Empty indent div on root causes space issue in IE7
10 views
Skip to first unread message
ayates
unread,
Mar 13, 2009, 3:11:49 PM3/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mootree
On the root div of the tree the indent div is empty and in IE7 it
shows up as a space above the tree itself, pushing the tree down. This
isn't normally noticeable in most cases unless the tree has an element
directly above it. In my case I'm drawing the tree in the middle of an
unordered list so there's a space between the li above the tree which
throws things off. Just wondered how I can simply not draw the indent
div if it is empty.
Thanks, Andrew Yates
Evan Meagher
unread,
Mar 14, 2009, 10:55:18 AM3/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to moo...@googlegroups.com
I had this problem on mine and I just modified the code to get rid of the space in IE. I don't remember if that particular fix was JS or CSS, but I do remember that when I simply hid that top root div, it left a dotted line going up into nothing.