\n```\n\n\nThe second row wont fill the vertical space created by the first rows middle column (notice the rowspan=\"2\") correctly. Instead the first rows 1st and 3rd columns expand down even though I set their height to 37. The image below shows what happens in IE7 and Firefox3...\n\n\n\nEDIT: added the HTML doc type to the code snippit. Added a screenshot.\n\nAny help appreciated, thanks :)\n"},"Title":{"kind":"string","value":"HTML Table columns height; Works in Firefox not in IE"},"ContentLicense":{"kind":"string","value":"CC BY-SA 4.0"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-10-30T16:59:53.183"},"LastActivityDate":{"kind":"string","value":"2019-02-15T07:50:20.997"},"LastEditDate":{"kind":"string","value":"2019-02-15T07:50:20.997"},"LastEditorUserId":{"kind":"number","value":4751173,"string":"4,751,173"},"OwnerUserId":{"kind":"number","value":14260,"string":"14,260"},"Tags":{"kind":"list like","value":["html","firefox","internet-explorer-7"],"string":"[\n \"html\",\n \"firefox\",\n \"internet-explorer-7\"\n]"}}},{"rowIdx":134,"cells":{"Id":{"kind":"number","value":257955,"string":"257,955"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":258194,"string":"258,194"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":0,"string":"0"},"ViewCount":{"kind":"number","value":1996,"string":"1,996"},"Body":{"kind":"string","value":"Windows XP Disk Defragmenter report shows a constant in disk usage on a number of disk partitions on my system. I'm not referring to the little transitory gaps that occur. In disk D below, the gap in question is the one under the word \"defragmentation\". In disk P below, the gap is the one under \"usage before def\" the but a bigger one. The C partition doesn't have this anomaly. The size and placement pattern isn't obvious. It is as though there was an area, a no-man's land, that both the file system and the defragmenter avoid. These gaps survive daily use and defragmentation. I don't believe this is a residue from a paging file -- it should show up in green, anyway. Recycle bin is empty.\n\nAny ideas? \n\nDisk D (20 Gig):\n\n\nDisk P (40 Gig):\n\n"},"Title":{"kind":"string","value":"Windows disk partition gap"},"ContentLicense":{"kind":"string","value":"CC BY-SA 3.0"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-03T04:51:42.210"},"LastActivityDate":{"kind":"string","value":"2011-06-24T21:20:57.873"},"LastEditDate":{"kind":"string","value":"2011-06-24T21:20:57.873"},"LastEditorUserId":{"kind":"number","value":29454,"string":"29,454"},"OwnerUserId":{"kind":"number","value":29454,"string":"29,454"},"Tags":{"kind":"list like","value":["windows","filesystems","defragmentation"],"string":"[\n \"windows\",\n \"filesystems\",\n \"defragmentation\"\n]"}}},{"rowIdx":135,"cells":{"Id":{"kind":"number","value":261080,"string":"261,080"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":261120,"string":"261,120"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":1,"string":"1"},"ViewCount":{"kind":"number","value":1759,"string":"1,759"},"Body":{"kind":"string","value":"I would like to have a Java component which has a resize icon on the bottom right of the component so that when I drag that icon, the component will automatically resize with it.\n\nBy resize icon, I mean the following:\n\n\n\nThe above image contains the resize icon in the Google Talk messenger's main window. Is there any Java component which provides this facility?\n"},"Title":{"kind":"string","value":"Resizable Java component"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-04T06:35:43.857"},"LastActivityDate":{"kind":"string","value":"2013-09-03T07:32:37.430"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:08:53.973"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":22550,"string":"22,550"},"Tags":{"kind":"list like","value":["java","resize","components"],"string":"[\n \"java\",\n \"resize\",\n \"components\"\n]"}}},{"rowIdx":136,"cells":{"Id":{"kind":"number","value":261910,"string":"261,910"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"null"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":0,"string":"0"},"ViewCount":{"kind":"number","value":7539,"string":"7,539"},"Body":{"kind":"string","value":"Would you please help me in making a rollover effect using jquery, what i want to do is when someone hover over any of the menu items the text slide down and disappear and a picture slides from the top down to the center (e.g. you could see this effect here [panda](http://www.iviewcom.com/panda) as you can see the picture slide down from the top but the text does not slide down which is not what want).\n\nI know it can be easily done using flash but i don't want my menu in flash as that would be a bad practice. \n\ncan you tell me what do i need to change in my menu HTML and what jquery functions should i use.\n\n\n\nP.S. this my menu HTML and you can see my menu here \n\n```\n
\n```\n\n\nMENU: \n\n\n"},"Title":{"kind":"string","value":"rollover effect using Jquery"},"ContentLicense":{"kind":"string","value":"CC BY-SA 3.0"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-04T13:35:22.417"},"LastActivityDate":{"kind":"string","value":"2013-07-19T14:53:14.240"},"LastEditDate":{"kind":"string","value":"2013-07-19T14:53:14.240"},"LastEditorUserId":{"kind":"number","value":2556654,"string":"2,556,654"},"OwnerUserId":{"kind":"null"},"Tags":{"kind":"list like","value":["php","javascript","jquery","html"],"string":"[\n \"php\",\n \"javascript\",\n \"jquery\",\n \"html\"\n]"}}},{"rowIdx":137,"cells":{"Id":{"kind":"number","value":262017,"string":"262,017"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"null"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":2,"string":"2"},"ViewCount":{"kind":"number","value":1494,"string":"1,494"},"Body":{"kind":"string","value":"We have a Navigation Based WPF application.\nIt works fine when running directly from Visual Studio,\nor even if we copy the files to another directory or another computer and run it there.\n\nWe deploy the application over the internet using ClickOnce and most\nof the time this does not cause any problems.\n\nEvery now and then however, it just freezes completely and you get\nthe classic \"Application xxxx is not responding\" and a non responsive UI.\n\nThis does not happen every time, and only when using the deployed version.\n(Even if we test this on the development machine).\n\n> As I am typing this message, we are starting and quiting the deployed version\n many times in order to try and reproduce the behaviour... sometimes it will happen 10 times in a row, and then it'll work fine the next 20 times. With no indication as to what might be causing it. (Just managed to make it happen)\n\nJust to show you what I mean, here's a screenshot:\n\n[][null]\n\nThis happened when double clicking the first item in the ListBox:\n\n```\nLLCOverviewPage llcOverview = new LLCOverviewPage((Controller)this.lstControllers.SelectedItem);\n this.NavigationService.Navigate(llcOverview);\n```\n\n\nThe application just remains in this state forever, no exception is thrown.\n\nThe constructor for the LLCOverViewPage looks like this:\n\n```\npublic LLCOverviewPage(Controller CurrentController)\n{\n InitializeComponent();\n\n this.currentController = CurrentController.ToLightLinkController();\n this.updateControllerInfo(); \n}\n```\n\n\nThe updateControllerInfo() method displays information on the page,\nand then calls a method more information that has been loaded previously\nfrom a SQL Compact 3.5 database:\n\n```\nprivate void updateControllerInfo()\n {\n //Update the UI with general properties\n this.lblDeviceName.Content = this.currentController.ShortName;\n this.lblEthernetAddress.Content = this.currentController.Eth0.EthernetAddress.ToString();\n this.lblTcpPort.Content = this.currentController.Eth0.TcpPort.ToString();\n this.lblActuatorThroughputMode.Content = (this.currentController.Dali.ActuatorThroughputMode ? \"Enabled\" : \"Disabled\");\n this.lblNetmask.Content = (this.currentController.Eth0.Netmask != null ? this.currentController.Eth0.Netmask.ToString() : String.Empty);\n this.lblDefaultGateway.Content = (this.currentController.Eth0.DefaultGateway != null ? this.currentController.Eth0.DefaultGateway.ToString() : String.Empty); \n\n //Update the UI with the ballasts\n this.updateBallastList();\n }\n\n private void updateBallastList()\n {\n this.lstBallasts.ItemsSource = null;\n\n List listviewItems = new List();\n foreach (DaliBallast ballast in this.currentController.Dali.Ballasts.OrderBy(b => b.ShortAddress))\n {\n listviewItems.Add(new BallastListViewItem(ballast,this.currentController.SerialNumber));\n }\n\n this.lstBallasts.ItemsSource = listviewItems;\n }\n```\n\n\nThat's about it. Nothing else happens when the page is constructed.\n\nWith no exception and since the application does not crash,\nI have very little to go on in order to find what's going wrong.\n\nThe SQL Compact database is stored in the users application folder,\nso the deployed version uses the same database as the normal version,\nno difference there.\n\nSo, just to be clear, this problem occurs ONLY in the deployed version!\n(Tested on different machines with both Windows XP and Windows Vista)\n\nAny ideas as what might be causing something like this to happen,\nor what I might try in order to trace down this problem?\n\n\n\n> Using some good old debugging (writing log information to a file)\n I was able to determine all of my code succesfully excecutes and\n the application only freezes after that.\n\nSo if you take another look at the constructor of the page being created:\n\n```\npublic LLCOverviewPage(Controller CurrentController)\n {\n InitializeComponent();\n\n this.currentController = CurrentController.ToLightLinkController();\n this.updateControllerInfo(); \n }\n```\n\n\nAfter the this.updateControllerInfo() is where the application freezes\nfrom time to time. Would this be something beyond my code? Perhaps a WPF bug?\n\n\nI checked the Application EventLog in Windows, this is what it says:\n\n```\n\n \n \n 1002\n 2\n 101\n 0x80000000000000\n \n 1630\n Application\n DEVTOP\n \n \n \n LLCControl.exe\n 1.0.0.0\n 2f4\n 01c93e95c29f9da5\n 20\n 55006E006B006E006F0077006E0000000000\n \n\n```\n\n\nThe Binary text says: UNKOWN, guess I'm completely pooched...\n\n\nIf I change the event handler code for the listbox to this:\n\n```\nLLCOverviewPage llcOverview = new LLCOverviewPage((Controller)this.lstControllers.SelectedItem);\nMessageBox.Show(\"Navigating Now\");\nthis.NavigationService.Navigate(llcOverview)\n```\n\n\nit shows me that the application only freezes when Navigating!\n\n\nI hooked up a few event handlers to the NavigationService. The handlers simply write to the Log when the events are triggered. The result looks like this:\n\n> 17:51:35 Navigating\n 17:51:35 Navigated\n 17:51:35 LoadCompleted\n\nSo why is this going to oblivion?\n"},"Title":{"kind":"string","value":"Weird behaviour when running ClickOnce deployed version of WPF application"},"ContentLicense":{"kind":"string","value":"CC BY-SA 4.0"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-04T14:18:18.947"},"LastActivityDate":{"kind":"string","value":"2019-02-15T10:08:14.210"},"LastEditDate":{"kind":"string","value":"2019-02-15T10:08:14.210"},"LastEditorUserId":{"kind":"number","value":4751173,"string":"4,751,173"},"OwnerUserId":{"kind":"number","value":28149,"string":"28,149"},"Tags":{"kind":"list like","value":["c#","wpf","linq","debugging","clickonce"],"string":"[\n \"c#\",\n \"wpf\",\n \"linq\",\n \"debugging\",\n \"clickonce\"\n]"}}},{"rowIdx":138,"cells":{"Id":{"kind":"number","value":263305,"string":"263,305"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":263573,"string":"263,573"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":37,"string":"37"},"ViewCount":{"kind":"number","value":12145,"string":"12,145"},"Body":{"kind":"string","value":"I've been working on a visualization project for 2-dimensional continuous data. It's the kind of thing you could use to study elevation data or temperature patterns on a 2D map. At its core, it's really a way of flattening 3-dimensions into two-dimensions-plus-color. In my particular field of study, I'm not actually working with geographical elevation data, but it's a good metaphor, so I'll stick with it throughout this post.\n\nAnyhow, at this point, I have a \"continuous color\" renderer that I'm very pleased with:\n\n\n\nThe gradient is the standard color-wheel, where red pixels indicate coordinates with high values, and violet pixels indicate low values.\n\nThe underlying data structure uses some very clever (if I do say so myself) interpolation algorithms to enable arbitrarily deep zooming into the details of the map.\n\nAt this point, I want to draw some topographical contour lines (using quadratic bezier curves), but I haven't been able to find any good literature describing efficient algorithms for finding those curves.\n\nTo give you an idea for what I'm thinking about, here's a poor-man's implementation (where the renderer just uses a black RGB value whenever it encounters a pixel that intersects a contour line):\n\n\n\nThere are several problems with this approach, though:\n\n- Areas of the graph with a steeper slope result in thinner (and often broken) topo lines. Ideally, all topo lines should be continuous.- Areas of the graph with a flatter slope result in wider topo lines (and often entire regions of blackness, especially at the outer perimeter of the rendering region).\n\nSo I'm looking at a vector-drawing approach for getting those nice, perfect 1-pixel-thick curves. The basic structure of the algorithm will have to include these steps:\n\n\n1. At each discrete elevation where I want to draw a topo line, find a set of coordinates where the elevation at that coordinate is extremely close (given an arbitrary epsilon value) to the desired elevation.\n2. Eliminate redundant points. For example, if three points are in a perfectly-straight line, then the center point is redundant, since it can be eliminated without changing the shape of the curve. Likewise, with bezier curves, it is often possible to eliminate cetain anchor points by adjusting the position of adjacent control points.\n3. Assemble the remaining points into a sequence, such that each segment between two points approximates an elevation-neutral trajectory, and such that no two line segments ever cross paths. Each point-sequence must either create a closed polygon, or must intersect the bounding box of the rendering region.\n4. For each vertex, find a pair of control points such that the resultant curve exhibits a minimum error, with respect to the redundant points eliminated in step #2.\n5. Ensure that all features of the topography visible at the current rendering scale are represented by appropriate topo lines. For example, if the data contains a spike with high altitude, but with extremely small diameter, the topo lines should still be drawn. Vertical features should only be ignored if their feature diameter is smaller than the overall rendering granularity of the image.\n\n\n\nBut even under those constraints, I can still think of several different heuristics for finding the lines:\n\n- Find the high-point within the rendering bounding-box. From that high point, travel downhill along several different trajectories. Any time the traversal line crossest an elevation threshold, add that point to an elevation-specific bucket. When the traversal path reaches a local minimum, change course and travel uphill.- Perform a high-resolution traversal along the rectangular bounding-box of the rendering region. At each elevation threshold (and at inflection points, wherever the slope reverses direction), add those points to an elevation-specific bucket. After finishing the boundary traversal, start tracing inward from the boundary points in those buckets.- Scan the entire rendering region, taking an elevation measurement at a sparse regular interval. For each measurement, use it's proximity to an elevation threshold as a mechanism to decide whether or not to take an interpolated measurement of its neighbors. Using this technique would provide better guarantees of coverage across the whole rendering region, but it'd be difficult to assemble the resultant points into a sensible order for constructing paths.\n\nSo, those are some of my thoughts...\n\nBefore diving deep into an implementation, I wanted to see whether anyone else on StackOverflow has experience with this sort of problem and could provide pointers for an accurate and efficient implementation.\n\n\n\nI'm especially interested in the \"Gradient\" suggestion made by ellisbben. And my core data structure (ignoring some of the optimizing interpolation shortcuts) can be represented as the summation of a set of 2D gaussian functions, which is totally differentiable.\n\nI suppose I'll need a data structure to represent a three-dimensional slope, and a function for calculating that slope vector for at arbitrary point. Off the top of my head, I don't know how to do that (though it seems like it ought to be easy), but if you have a link explaining the math, I'd be much obliged!\n\n\n\nThanks to the excellent contributions by ellisbben and Azim, I can now calculate the contour angle for any arbitrary point in the field. Drawing the real topo lines will follow shortly!\n\nHere are updated renderings, with and without the ghetto raster-based topo-renderer that I've been using. Each image includes a thousand random sample points, represented by red dots. The angle-of-contour at that point is represented by a white line. In certain cases, no slope could be measured at the given point (based on the granularity of interpolation), so the red dot occurs without a corresponding angle-of-contour line.\n\nEnjoy!\n\n\n\n\n\n\n\nHere's a fun fact: over on the right-hand-side of these renderings, you'll see a bunch of weird contour lines at perfect horizontal and vertical angles. These are artifacts of the interpolation process, which uses a grid of interpolators to reduce the number of computations (by about 500%) necessary to perform the core rendering operations. All of those weird contour lines occur on the boundary between two interpolator grid cells.\n\nLuckily, those artifacts don't actually matter. Although the artifacts are detectable during slope calculation, the final renderer won't notice them, since it operates at a different bit depth.\n\n\n---\n\n\n\nUPDATE AGAIN:\n\nAaaaaaaand, as one final indulgence before I go to sleep, here's another pair of renderings, one in the old-school \"continuous color\" style, and one with 20,000 gradient samples. In this set of renderings, I've eliminated the red dot for point-samples, since it unnecessarily clutters the image.\n\nHere, you can really see those interpolation artifacts that I referred to earlier, thanks to the grid-structure of the interpolator collection. I should emphasize that those artifacts will be completely invisible on the final contour rendering (since the difference in magnitude between any two adjacent interpolator cells is less than the bit depth of the rendered image).\n\nBon appetit!!\n\n\n\n\n"},"Title":{"kind":"string","value":"Drawing a Topographical Map"},"ContentLicense":{"kind":"string","value":"CC BY-SA 3.0"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-04T20:25:30.373"},"LastActivityDate":{"kind":"string","value":"2017-08-17T13:30:28.620"},"LastEditDate":{"kind":"string","value":"2017-08-17T13:30:28.620"},"LastEditorUserId":{"kind":"number","value":2573061,"string":"2,573,061"},"OwnerUserId":{"kind":"number","value":22979,"string":"22,979"},"Tags":{"kind":"list like","value":["algorithm","language-agnostic","visualization","bezier","topographical-lines"],"string":"[\n \"algorithm\",\n \"language-agnostic\",\n \"visualization\",\n \"bezier\",\n \"topographical-lines\"\n]"}}},{"rowIdx":139,"cells":{"Id":{"kind":"number","value":267006,"string":"267,006"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":267021,"string":"267,021"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":205,"string":"205"},"ViewCount":{"kind":"number","value":394945,"string":"394,945"},"Body":{"kind":"string","value":"My new ASP.NET MVC Web Application works on my development workstation, but does not run on my web server...\n\n\n---\n\n\n\n\n# Server Error in '/' Application.\n\n\n\n\n---\n\n\n\n\n## Configuration Error\n\n\n\n An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. \n\n Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. \n\n \n\n```\nLine 44: \nLine 45: \nLine 46: \nLine 47: \nLine 48: \n```\n\n\n C:\\inetpub\\www.example.org\\web.config 46 \n\n The following information can be helpful to determine why the assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded. \n\n\n\n\n---\n\n\n\n Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053\n\n\n---\n\n\n\nDo I need to install the on the server? Or is there a different installer for servers?\n\n\n"},"Title":{"kind":"string","value":"Could not load file or assembly 'System.Web.Mvc'"},"ContentLicense":{"kind":"string","value":"CC BY-SA 3.0"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-05T22:40:34.983"},"LastActivityDate":{"kind":"string","value":"2017-01-20T07:47:52.907"},"LastEditDate":{"kind":"string","value":"2016-04-21T01:35:32.027"},"LastEditorUserId":{"kind":"number","value":3119050,"string":"3,119,050"},"OwnerUserId":{"kind":"number","value":83,"string":"83"},"Tags":{"kind":"list like","value":["asp.net-mvc"],"string":"[\n \"asp.net-mvc\"\n]"}}},{"rowIdx":140,"cells":{"Id":{"kind":"number","value":271716,"string":"271,716"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":271717,"string":"271,717"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":9,"string":"9"},"ViewCount":{"kind":"number","value":1254,"string":"1,254"},"Body":{"kind":"string","value":"As best-behaved as I try to be about keeping my unit tests disconnected from the database, etc. etc, it still seems inevitable that my day will be interrupted by small regular enforced breaks while I wait for my machine to do something boring.\n\n\n\nI personally find swordfighting makes me lose my train of thought. I'm often 'in the zone' when I run a build or suite of tests, and I'd prefer something that keeps me in the same focussed frame of mind, jumping me right back to hacking as soon as the build / test run / migration is done.\n\nI used to fantasize about a Tetris plugin for Visual Studio that popped up during the build and then paused and disappeared automatically when the build completed, but I never actually did anything about it. Lately we were thinking about building something into [autotest](http://www.zenspider.com/) which helps you learn Spanish while you wait for the tests to run, or maybe feeds you relevant stack overflow questions to answer.\n\nSo. Suggestions please. Points for fun yet rewarding activities.\n"},"Title":{"kind":"string","value":"What should I do while I'm waiting for the build / the tests / the database migrations to run?"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-07T10:32:00.400"},"LastActivityDate":{"kind":"string","value":"2012-05-04T03:50:21.547"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:07:45.260"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":20011,"string":"20,011"},"Tags":{"kind":"list like","value":["testing","build","focus"],"string":"[\n \"testing\",\n \"build\",\n \"focus\"\n]"}}},{"rowIdx":141,"cells":{"Id":{"kind":"number","value":274265,"string":"274,265"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":274269,"string":"274,269"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":7,"string":"7"},"ViewCount":{"kind":"number","value":445,"string":"445"},"Body":{"kind":"string","value":"I can't for the life of me find a way to make this work.\n\nIf I have 3 divs (a left sidebar, a main body, and a footer), how can I have the sidebar and main body sit next to each other without setting their positions as \"absolute\" or floating them? Doing either of these options result in the footer div not being pushed down by one or the other.\n\nHow might I accomplish this regardless of what comes before these elements (say another header div or something)?\n\nIn case it helps, here's an illustration of the two cases I'm trying to allow for:\n\n\n\nHere's a simplified version of the HTML I currently have set up:\n\n```\n\n\n\n```\n\n"},"Title":{"kind":"string","value":"How to layout sidebar and main body without using 'absolute' or 'float'?"},"ContentLicense":{"kind":"string","value":"CC BY-SA 4.0"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-08T02:49:29.163"},"LastActivityDate":{"kind":"string","value":"2019-02-15T17:43:33.657"},"LastEditDate":{"kind":"string","value":"2019-02-15T17:43:33.657"},"LastEditorUserId":{"kind":"number","value":4751173,"string":"4,751,173"},"OwnerUserId":{"kind":"number","value":5291,"string":"5,291"},"Tags":{"kind":"list like","value":["css","xhtml","html"],"string":"[\n \"css\",\n \"xhtml\",\n \"html\"\n]"}}},{"rowIdx":142,"cells":{"Id":{"kind":"number","value":278676,"string":"278,676"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":284522,"string":"284,522"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":1,"string":"1"},"ViewCount":{"kind":"number","value":9061,"string":"9,061"},"Body":{"kind":"string","value":"I'm working the the image upload piece of the [FCKEditor](http://www.fckeditor.net/) and I've got the uploading working properly but am stuck with the server file browser.\n\n\n\nYou can see in the dialog above has a button which pops up the following dialog\n\n\n\nThe problem is that I have no idea which folder the file browser is pointing at.\n\nI've set the and in the PHP connector config.php to control where my image uploads go.\n\n\n### How can I configure the file browser so that it starts off pointing at the same folder where my uploads are going?\n\n\n\n\n---\n\n\n\n\n\nThe property is what I'm looking for. That property is used for having the button point somewhere other than the default file browser.\n\nMy problem is figuring out how to point the default file browser to a specific directory.\n"},"Title":{"kind":"string","value":"How to set the default location of the FCKEditor file browser?"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-10T18:08:41.710"},"LastActivityDate":{"kind":"string","value":"2008-11-13T18:30:13.110"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:08:59.130"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":305,"string":"305"},"Tags":{"kind":"list like","value":["php","fckeditor"],"string":"[\n \"php\",\n \"fckeditor\"\n]"}}},{"rowIdx":143,"cells":{"Id":{"kind":"number","value":281334,"string":"281,334"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"null"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":1,"string":"1"},"ViewCount":{"kind":"number","value":5528,"string":"5,528"},"Body":{"kind":"string","value":"I have a UL that looks like this:\n\n```\n
\n```\n\n\nAnd CSS that looks like this:\n\n```\nul.popular-pages li a { \n display:block; \n float:left; \n border-right:1px solid #b0b0b0; \n border-bottom:1px solid #8d8d8d; \n padding:10px; \n background-color:#ebf4e0; \n margin:2px; color:#526d3f \n}\nul.popular-pages li a:hover { \n text-decoration:none; \n border-left:1px solid #b0b0b0; \n border-top:1px solid #8d8d8d; \n border-right:none; \n border-bottom:none;\n}\n```\n\n\nSo it's working fine in modern browsers, but it's looking like this in IE6. Any suggestions?\n\n"},"Title":{"kind":"string","value":"List Items turned into float:left blocks look strange in IE6"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-11T16:12:39.370"},"LastActivityDate":{"kind":"string","value":"2008-11-11T17:30:42.970"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:08:59.463"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"null"},"Tags":{"kind":"list like","value":["css","internet-explorer-6"],"string":"[\n \"css\",\n \"internet-explorer-6\"\n]"}}},{"rowIdx":144,"cells":{"Id":{"kind":"number","value":282489,"string":"282,489"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":282515,"string":"282,515"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":7,"string":"7"},"ViewCount":{"kind":"number","value":19967,"string":"19,967"},"Body":{"kind":"string","value":"What is a good way to set up a single container div with some border images surrounding it (in my case only on the left, bottom, and right sides)? I have it centered at the top of the page, overlapping everything else (so like that OSX-style slide-down dialog).\n\nHere's the basic layout:\n\n\n\nHere's what I've got so far (can I avoid a static width/height for the content?):\n\n\n\n```\n
\n
\n
\n \n
\n Content Box Test\n
\n \n
\n
\n \n \n \n
\n
\n
\n```\n\n\n\n\n```\n.contentbox {\n width: 100%;\n position: fixed;\n z-index: 2;\n}\n\n.contentbox-wrapper {\n width: 300px;\n margin-left: auto;\n margin-right: auto;\n}\n\n.contentbox-mid {\n height: 100px;\n}\n\n.contentbox-w {\n width: 30px;\n height: 100%;\n background: transparent url(\"../../images/contentbox_w.png\");\n float: left;\n}\n\n.contentbox-content {\n width: auto;\n height: 100%;\n background: #e8e8e8;\n float: left;\n}\n\n.contentbox-e {\n width: 30px;\n height: 100%;\n background: transparent url(\"../../images/contentbox_e.png\");\n float: left;\n}\n\n.contentbox-bottom {\n width: 300px;\n height: 30px;\n}\n\n.contentbox-sw {\n width: 30px;\n height: 30px;\n background: transparent url(\"../../images/contentbox_sw.png\");\n float: left;\n}\n\n.contentbox-s {\n height: 30px;\n background: transparent url(\"../../images/contentbox_s.png\");\n margin-left: 30px;\n margin-right: 30px;\n}\n\n.contentbox-se {\n width: 30px;\n height: 30px;\n background: transparent url(\"../../images/contentbox_se.png\");\n float: right;\n position: relative;\n bottom: 30px;\n}\n```\n\n"},"Title":{"kind":"string","value":"Div with Border Images"},"ContentLicense":{"kind":"string","value":"CC BY-SA 4.0"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-11T23:20:56.757"},"LastActivityDate":{"kind":"string","value":"2018-08-20T09:06:01.370"},"LastEditDate":{"kind":"string","value":"2018-08-20T09:06:01.370"},"LastEditorUserId":{"kind":"number","value":6404321,"string":"6,404,321"},"OwnerUserId":{"kind":"number","value":5291,"string":"5,291"},"Tags":{"kind":"list like","value":["css","html"],"string":"[\n \"css\",\n \"html\"\n]"}}},{"rowIdx":145,"cells":{"Id":{"kind":"number","value":282838,"string":"282,838"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"null"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":46,"string":"46"},"ViewCount":{"kind":"number","value":89871,"string":"89,871"},"Body":{"kind":"string","value":"I know this question had been asked more than a few times, but so far I haven't been able to find a good solution for it.\n\nI've got a panel with other control on it.\nI want to draw a line on it and on top of all the controls in the panel\n\nI came across 3 types of solutions (non of them worked the way I wanted) :\n\n\n1. Get the desktop DC and Draw on the screen. This will draw on other applications if they overlap the form.\n2. Overriding the panel's \"CreateParams\":\n\n\n\n=\n\n```\nprotected override CreateParams CreateParams { \n get { \n CreateParams cp; \n cp = base.CreateParams; \n cp.Style &= ~0x04000000; //WS_CLIPSIBLINGS\n cp.Style &= ~0x02000000; //WS_CLIPCHILDREN\n return cp; \n } \n}\n```\n\n\n//NOTE I've also tried disabling WS_CLIPSIBLINGS\n\nand then drawing the line OnPaint().\nBut... Since the panel's OnPaint is called before the OnPaint of the controls in it, \nthe drawing of the controls inside simply paints on top of the line.\nI've seen someone suggest using a message filter to listen to WM_PAINT mesages, and use a timer, but I don't think this solution is either \"good practice\" or effective.\nWhat would you do ? Decide that the controls inside have finished drawing after X ms, and set the timer to X ms ?\n\n\n---\n\n\n\nThis screen shot shows the panel with WS_CLIPSIBLINGS and WS_CLIPCHILDREN turned off.\nThe Blue line is painted at the Panel's OnPaint, and simply being painted on by the textboxes and label.\nThe Red line is painted on top only because it's not being painted from the panel's OnPaint (It's actually painted as a result of a Button being clicked)\n\n\n\n---\n\n\n\n3rd: Creating a transparent layer and drawing on top of that layer.\nI've created a transparent control using:\n\n```\nprotected override CreateParams CreateParams { \n get { \n CreateParams cp = base.CreateParams; \n cp.ExStyle |= 0x00000020; //WS_EX_TRANSPARENT \n return cp; \n } \n}\n```\n\n\nThe problem is still, putting the transparent control on top of the Panel and all its controls.\nI've tried bringing it to the front using: \"BringToFront()\" , but it didn't seem to help.\nI've put it in the Line control's OnPaint() handler.\nShould I try putting it somewhere else ??\n- This also creates issue with having another control on top of the panel. (catching the mouse clicks etc..) \n\n\n\n**EDIT:\nThe black line is a sample of what I was trying to do. (used windows paint to paint it)\n\n\n"},"Title":{"kind":"string","value":"Drawing on top of controls inside a panel (C# WinForms)"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-12T02:37:24.023"},"LastActivityDate":{"kind":"string","value":"2019-02-21T17:01:02.093"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:09:00.160"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":36777,"string":"36,777"},"Tags":{"kind":"list like","value":["c#",".net","winforms"],"string":"[\n \"c#\",\n \".net\",\n \"winforms\"\n]"}}},{"rowIdx":146,"cells":{"Id":{"kind":"number","value":285829,"string":"285,829"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":331438,"string":"331,438"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":32,"string":"32"},"ViewCount":{"kind":"number","value":55775,"string":"55,775"},"Body":{"kind":"string","value":"I'd like to use the DataGridView control as a list with columns. Sort of like ListView in Details mode but I want to keep the DataGridView flexibility.\n\n (with view and enabled) highlights the whole line and shows the focus mark around the whole line:\n\n\n (with = ) displays focus mark only around a single cell:\n\n\nSo, does anyone know of some (ideally) easy way to make the DataGridView row selection look like the ListView one?\nI'm not looking for a changed behaviour of the control - I only want it to look the same.\nIdeally, without messing up with the methods that do the actual painting.\n"},"Title":{"kind":"string","value":"DataGridView: how to focus the whole row instead of a single cell?"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-12T23:38:00.700"},"LastActivityDate":{"kind":"string","value":"2021-04-28T16:37:17.517"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:09:01.223"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":2239,"string":"2,239"},"Tags":{"kind":"list like","value":[".net","winforms","datagridview"],"string":"[\n \".net\",\n \"winforms\",\n \"datagridview\"\n]"}}},{"rowIdx":147,"cells":{"Id":{"kind":"number","value":287592,"string":"287,592"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"null"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":6,"string":"6"},"ViewCount":{"kind":"number","value":682,"string":"682"},"Body":{"kind":"string","value":"Why does the following have the effect it does - it prints a terminal full of random characters and then exits leaving a command prompt that produces garbage when you type in it. (I tried it because I thought it would produce a seg fault).\n\n\n\n```\n#include \n\nint main(){\n char* s = \"lololololololol\";\n while(1){\n printf(\"%c\", *s);\n s++;\n }\n}\n```\n\n\nit was compiled with:\n\n\n"},"Title":{"kind":"string","value":"why does this happen (see image)?"},"ContentLicense":{"kind":"string","value":"CC BY-SA 3.0"},"FavoriteCount":{"kind":"null"},"CreationDate":{"kind":"string","value":"2008-11-13T17:26:17.420"},"LastActivityDate":{"kind":"string","value":"2013-07-19T15:27:43.007"},"LastEditDate":{"kind":"string","value":"2013-07-19T15:27:43.007"},"LastEditorUserId":{"kind":"number","value":2556654,"string":"2,556,654"},"OwnerUserId":{"kind":"null"},"Tags":{"kind":"list like","value":["c","console","terminal","reset"],"string":"[\n \"c\",\n \"console\",\n \"terminal\",\n \"reset\"\n]"}}},{"rowIdx":148,"cells":{"Id":{"kind":"number","value":289176,"string":"289,176"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":289410,"string":"289,410"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":46,"string":"46"},"ViewCount":{"kind":"number","value":4502,"string":"4,502"},"Body":{"kind":"string","value":"I keep seeing the phrase \"duck typing\" bandied about, and even ran across a code example or two. I am way too busy to do my own research, can someone tell me, briefly:\n\n- - - \n\n\n\nI don't mean to seem fowl by doubting the power of this 'new' construct, and I'm not ducking the issue by refusing to do the research, but I am quacking up at all the flocking hype i've been seeing about it lately. It looks like typing (aka dynamic typing) to me, so I'm not seeing the advantages right away.\n\nADDENDUM: Thanks for the examples so far. It seems to me that using something like 'O->can(Blah)' is equivalent to doing a reflection lookup (which is probably not cheap), and/or is about the same as saying (O is IBlah) which the compiler might be able to check for you, but the latter has the advantage of distinguishing my IBlah interface from your IBlah interface while the other two do not. Granted, having a lot of tiny interfaces floating around for every method would get messy, but then again so can checking for a lot of individual methods...\n\n...so again i'm just not getting it. Is it a fantastic time-saver, or the same old thing in a brand new sack? Where is the example that duck typing?\n"},"Title":{"kind":"string","value":"How is duck typing different from the old 'variant' type and/or interfaces?"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-14T03:40:59.223"},"LastActivityDate":{"kind":"string","value":"2019-10-01T07:33:57.747"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:09:01.987"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":9345,"string":"9,345"},"Tags":{"kind":"list like","value":["interface","variant","duck-typing"],"string":"[\n \"interface\",\n \"variant\",\n \"duck-typing\"\n]"}}},{"rowIdx":149,"cells":{"Id":{"kind":"number","value":289409,"string":"289,409"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":289455,"string":"289,455"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":2,"string":"2"},"ViewCount":{"kind":"number","value":10136,"string":"10,136"},"Body":{"kind":"string","value":"I have a layout that is working, but it has one very annoying problem.. when the content is taller than the screen, the background stops.\n\nThis is the desired layout in bad-ASCII-art format:\n\n```\n_____________________ _\n| | long |logo| |\n| | content | | |\n| | | | |\n| | | | |\n|grad| |grad| | Viewport\n| | | | |\n| | | | |\n| | | | _|\n| | | |\n| | | |\n_____________________\n\n|2em| <-20em->| 2em|\n```\n\n\n..or with short content..\n\n```\n_____________________ _\n| | short |logo| |\n| | content | | |\n| | | | |\n| | | | |\n|grad| |grad| | Viewport\n| | | | |\n| | | | |\n| | | | |\n| | | | |\n_____________________ _|\n```\n\n\nBasically it looks like a single column, with a glow as a column either side. Over the left-glow is a logo. When the content is short, it is still the full-height.\n\nI have tried using the [CSS min-height hack](http://www.dustindiaz.com/min-height-fast-hack/), which fixes the middle column, but then the gradients only extend as far as the content (in the left column, a single ` `, in the right column the logo)\n\n\n---\n\n\n\nHere is what the layout looks like:\n\n\n\nAnd the problem (when the browser window is shrunk vertically):\n\n\n\nFinally, the problem HTML/CSS, [http://data.dbrweb.co.uk/tmp/fifestock_layout_problem/](http://data.dbrweb.co.uk/tmp/fifestock_layout_problem/)\n"},"Title":{"kind":"string","value":"Full-height CSS layout, with multiple columns"},"ContentLicense":{"kind":"string","value":"CC BY-SA 3.0"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-14T07:09:06.213"},"LastActivityDate":{"kind":"string","value":"2012-10-23T12:36:00.847"},"LastEditDate":{"kind":"string","value":"2012-10-23T12:36:00.847"},"LastEditorUserId":{"kind":"number","value":745,"string":"745"},"OwnerUserId":{"kind":"number","value":745,"string":"745"},"Tags":{"kind":"list like","value":["html","css","layout"],"string":"[\n \"html\",\n \"css\",\n \"layout\"\n]"}}},{"rowIdx":150,"cells":{"Id":{"kind":"number","value":291455,"string":"291,455"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":291462,"string":"291,462"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":40,"string":"40"},"ViewCount":{"kind":"number","value":31174,"string":"31,174"},"Body":{"kind":"string","value":"I have an XSD file that is encoded in UTF-8, and any text editor I run it through doesn't show any character at the beginning of the file, but when I pull it up in Visual Studio's debugger, I clearly see an empty box in front of the file. \n\n\n\nI also get the error: \n\n\n\n\n\nAnyone know what this is?\n\nUpdate: Edited post to qualify type of file. It's an XSD file created by Microsoft's XSD creator.\n"},"Title":{"kind":"string","value":"XML - Data At Root Level is Invalid"},"ContentLicense":{"kind":"string","value":"CC BY-SA 2.5"},"FavoriteCount":{"kind":"number","value":0,"string":"0"},"CreationDate":{"kind":"string","value":"2008-11-14T21:14:15.850"},"LastActivityDate":{"kind":"string","value":"2013-02-18T00:55:21.990"},"LastEditDate":{"kind":"string","value":"2017-02-08T14:09:04.243"},"LastEditorUserId":{"kind":"number","value":-1,"string":"-1"},"OwnerUserId":{"kind":"number","value":16587,"string":"16,587"},"Tags":{"kind":"list like","value":[".net","xml","visual-studio","xsd","byte-order-mark"],"string":"[\n \".net\",\n \"xml\",\n \"visual-studio\",\n \"xsd\",\n \"byte-order-mark\"\n]"}}},{"rowIdx":151,"cells":{"Id":{"kind":"number","value":291527,"string":"291,527"},"PostTypeId":{"kind":"number","value":1,"string":"1"},"AcceptedAnswerId":{"kind":"number","value":291669,"string":"291,669"},"ParentId":{"kind":"null"},"Score":{"kind":"number","value":3,"string":"3"},"ViewCount":{"kind":"number","value":4155,"string":"4,155"},"Body":{"kind":"string","value":"I'm working on a website that uses not just frames, but frames within frames (ew, I know, but I don't get to choose). It actually works OK most of the time, but I'm running into a problem with some of the frames within frames in Safari (only).\n\nSome of the two-deep frames render in Safari with a small space on the right-hand side of the frame - I think it's just the ones with scroll set to \"no\", but fiddling with the scroll settings hasn't fixed it yet. It basically looks like there should be a scroll bar there, but there isn't.\n\nI've been working on this awhile and tried a lot of things: changing the heights of the rows, changing the scroll settings, adding a `colls='100%'` tag, changing the heights of the contents of the frames, as well as checking to make sure widths are set to 100% throughout. Nothing's fixed it so far. \n\nDoes any one know what's happening here?\n\nHere's the basic gist of the code and some screenshots - please forgive the lack of proper quotes; it still renders and fixing them all in this codebase would be a losing battle:\n\n```\n\n