This is a migrated thread and some comments may be shown as answers.

Hide static splitbar

1 Answer 96 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 22 Jan 2013, 06:17 PM
I have a vertical layout where I rely on the splitter for vertical scrolling. What I'd like to do is have a vertical border connecting a header area to the following content area that contains the scrollbar. The problem with setting the CSS to height/borderwidth 0 is that the offset of the pane below it will still be 1px off.

I don't see how to deal with this other than javascript to adjust the height of the element above, not css because of the inline element height style (or moving the pane below it up 1px, seems more brittle though). 

Ideally the panes would have an option to omit the border of a static splitter and in turn calculate the offsets appropriately. Other thoughts/solutions?

1 Answer, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 22 Jan 2013, 08:15 PM
I take this back! It appears that I was missing the border-width: 0; setting and it has no gap now.
Tags
Splitter
Asked by
Ryan
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Share this question
or