collapsed

Div collapse after float css

I have a div called NAV and inside of NAV I have an UL with 5 li which I float to the left, the li's that is but when I do that the NAV collapses. I know this because I put a border around NAV to see if it collapses and it does. Here is the example. as you can see in the first image, the links in the NAV div are floated left and th...

CSS margin-bottom collapsed - but why?

Hello, I have this simple xhtml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> <head> </head> <body style="height: 100%;"> <div style="height: 100%; overflow: a...

DIV collapsing!

I have a few nested divs: <div id="wrapper"> <div id="header"> <!-- a bunch of float divs here --> </div> <div id="body"> <div id="content"> <!-- a bunch of html controls here --> </div> </div> </div> wrapper style: width: 780px; margin: 20px auto; border: solid black 5px; header style: position: relative; ...

XmlSchema Whitespace collapse: What happens to multiple whitespaces?

I use the following XmlSchema: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.test.com/XmlValidation" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:m="http://www.test.com/XmlValidation"&gt; <xs:element name="test"> <xs:com...

jQuery plus/minus or expand/collapse on a list

Anyone want to have a crack at emulating what the BBC have done on their homepage boxed contents with the PLUS / MINUS icons showing/hiding elements in a list. http://www.bbc.co.uk/ I've tried to do this but so far the effect isn't exactly right. Or, is there a plugin or something which would allow you to do a similar thing? ...

[.net] Treeview prevent Node collapse (weird problem)

Hey guyz! I have a .net 2.0 C# Project. I have a Treeview with 2 Nodes, each of them has many child nodes. When you click on a child node, a PDF is displayed in a webbrowser control depending on the properties of the node. Fine, but the problem is that when both Nodes are expanded, and I click on a child node, the other node gets collap...

WPF ListView still reserving space when collapsed

I have a WPF ListView within a ScrollViewer. I need to collapse the ListView and I am trying withthis code (pretty striaghtoforward): this.myListView.Visibility = Visibility.Collapsed; Problem is the ListView seems to be reserving the space even when collapsed - it disappears but the ScrollViewer doesn't accordingly resize. Anything...

Does Visibility = IsCollapsed skip the data-binding part?

If I set a StackPanel or what ever bound area I have as 'Collapsed', does the data load? Will it trigger its Loaded event? ...

jQuery expand/collapse hierarchical table row

Hi, I am looking for an efficient way to expand/collapse hierarchical table rows using jQuery. The problem is, that the expand and collapse functionality differs. Initially, only rows with class level_0 are show, all other rows are hidden. expand should only show the next level, so clicking on row id=10 should only make rows with id=1...