I gave margin 20px for both the div inside sidebar div. But for some reason the gap between two div's us just 20px, which should be 40px. 20px from box1 and 20px from box2. Am I missing some minor thing. please point it out.  Fiddle:    HTML:  &lt;div class="sidebar"&gt;      &lt;div class="box1 common"&gt;          &lt;p&gt;Text is here&lt;/p&gt;      &lt;/div&gt;      &lt;div class="box2 common"&gt;          &lt;p&gt;Text is here&lt;/p&gt;      &lt;/div&gt; &lt;/div&gt;   CSS:  * {     padding:0px;     margin:0px; } .box1 {     background:red;            padding: 40px;     width: 300px; } .box2 {     background: green;            padding: 40px;     width: 300px; } .common {     margin: 20px; }
So essentially does margin collapsing occur when you don't set any margin or padding or border to a given div element?
Hi i want to put this simbol "%" in the tick labels only in the x axis how can i do? After one of the latest updates (not sure if it was the last one or a previous one) of the Google Play app, I am having an error trying to update a large app (42MB). It says:     Error Downloading . There is insufficient space on the device.   My device is a Samsung P1000 running Froyo. It's rooted, but the error was there before rooting it.  A quick Google search showed several Samsung users having the same problem (the app in question that was giving me the headache is Smurf's village). Some said that removing the updates to the Android Market (Google Play) app would fix it, but to me it was of no avail.  I also tried the procedure in  to no avail.  Now I am stuck with a prehistoric version of the Market (that works on small apps) and still cannot update Smurf's Village or install big apps. How can I fix this?  EDIT: device has over 2GB of internal SD storage, 27GB of external SD card, so space is not an issue. How to disable USB storage device support I want to disable a particular USB storage device (a sandisk flash drive). I read somewhere that you can use the .config file. How do i use it to disable that? First let me explain what I mean by "transitive" Suppose that the price of product A and the price of product B has a correlation of .5 Suppose also that the price of product B and product C has a correlation of .5  One might thing that if correlation(A,B) = .5 and correlation(B,C) = .5 then correlation(A,C) > 0, but with an intuitive example we can see why this is not the case:  Suppose that A is a fruit salad made of papaya and banana, suppose also that B is a fruit salad made of banana and strawberry and, finally, suppose that C is strawberries and cream. Clearly, when the price of banana goes up, both the price of A and B will go up; when the price of strawberry goes up the price of B and C will go up; but since A and C have no ingredients in common, their price isn't correlated.  My question is which statistical concept captures this intuitive idea. Is it the concept of dimensions?  What do I mean by transitive? Let me define the binary operator X corr? Y as 1 if correlation(X,Y) != 0 and 0 otherwise, so:   A corr? B = 1, B corr? C = 1, but  A corr? C could be = 0   If corr? was transitive, then A corr? C = 1 Why do we need sigma-algebras to define probability spaces? We have a random experiment with different outcomes forming the sample space $\Omega,$ on which we look with interest at certain patterns, called events $\mathscr{F}.$ Sigma-algebras (or sigma-fields) are made up of events to which a probability measure $\mathbb{P}$ can be assigned. Certain properties are fulfilled, including the inclusion of the null set $\varnothing$ and the entire sample space, and an algebra that describes unions and intersections with Venn diagrams.  Probability is defined as a function between the $\sigma$-algebra and the interval $[0,1]$.  Altogether, the triple $(\Omega, \mathscr{F}, \mathbb{P})$ forms a probability space.  Could someone explain in plain English why the probability edifice would collapse if we didn't have a $\sigma$-algebra? They are just wedged in the middle with that impossibly calligraphic "F". I trust they are necessary; I see that an event is different from an outcome, but what would go awry without a $\sigma$-algebras?     The question is: In what type of probability problems the definition of a probability space including a $\sigma$-algebra becomes a necessity?       provides a plain English accessible explanation. The idea is a spinning pointer rotating counterclockwise on a circle of unit perimeter:       We begin by constructing a spinner, which consists of a circle of unit   circumference and a pointer as shown in [the] Figure. We pick a point   on the circle and label it $0$, and then label every other point on the   circle with the distance, say $x$, from $0$ to that point, measured   counterclockwise. The  experiment  consists  of spinning the pointer and    recording the label of the point at the tip of the pointer. We let the random   variable $X$ denote the value of this outcome.  The sample space is   clearly the interval $[0,1)$.  We would like to construct a   probability model in which each outcome is equally likely to occur. If   we proceed as we did [...] for experiments with a finite number of   possible outcomes,  then we must assign the probability $0$ to each   outcome,  since otherwise,  the  sum  of  the  probabilities,  over    all  of  the  possible  outcomes,  would not equal 1.  (In fact,   summing an uncountable number of real numbers is a tricky business;    in  particular,  in  order  for  such  a  sum  to  have  any  meaning,   at  most countably many of the summands can be different than $0$.)    However, if all of the assigned probabilities are $0$, then the sum is   $0$, not $1$, as it should be.   So if we assigned to each point any probability, and given that there is an (uncountably) infinity number of points, their sum would add up to $&gt; 1$. Remember last selected items per page in global search The pdf of $\frac{X_1-\bar{X}}{S}$ Suppose $X_1, X_2,...,X_n$ be i.i.d from $N(\mu,\sigma^2)$ with unknown $\mu \in \mathcal R$ and $\sigma^2&gt;0$  Let $Z=\frac{X_1-\bar{X}}{S},$ S is the standard deviation here.  It is can be shown that  $Z$ has the Lebesgue p.d.f.  $$f(z)=\frac{\sqrt{n} \Gamma\left(\frac{n-1}{2}\right)}{\sqrt{\pi}(n-1)\Gamma\left(\frac{n-2}{2}\right)}\left[1-\frac{nz^2}{(n-1)^2}\right]^{n/2-2}I_{(0,(n-1)/\sqrt{n})}(|Z|)$$  My question is then how to get this pdf?  The question is from  in example 3.3.4  to find the UMVUE of $P(X_1 \le c)$. I can understand the logic and procedures to find the UMVUE but don't know how to get the pdf.  I think this question also relate to this    Thank you very much for help or point to any related references will be also appropriated. Saving Arduino sensor data to a text file Removing unwanted appearance of underlying mesh This is a  about understanding and remediating the Heartbleed security issue.   What exactly is CVE-2014-0160 AKA "Heartbleed"? What is the cause, what OSs and versions of OpenSSL are vulnerable, what are the symptoms, are there any methods to detect a successful exploit?   How can I check to see if my system is affected? How can this vulnerability be mitigated? Should I be concerned that my keys or other private data have been compromised? What other side effects should I be concerned about? How can I remove the BOM from a UTF-8 file? I have a file in UTF-8 encoding with BOM and want to remove the BOM. Are there any linux command-line tools to remove the BOM from the file?  $ file test.xml test.xml:  XML 1.0 document, UTF-8 Unicode (with BOM) text, with very long lines What happens when I terminate a process and the socket send buffer is not empty? In Windows (and probably in other operating systems), if a process has a TCP connection with another process on another machine, and then I terminate the process, an RST packet will be sent to the other machine to indicate the end of the connection.  Now imagine that when the process is terminated, there were still some data left in the send buffer. What will happen in this case, will these remaining data be sent to the other machine followed by an RST packet, or will these remaining data be ignored and only an RST packet is sent? Does the integral $\int_{1}^{\infty} \sin(x\log x) \,\mathrm{d}x$ converge? Subgroup of $\mathbb{R}$ either dense or has a least positive element? (Up to / until / by) 50% off I wonder if someone could tell me which choice works in the following sentence and why the others do not work: (From my point of view, all of these choices work in this context.)  They have great promotion till January 5th......50% off. a) up to; b) until; c) by In a  of Amstat News, the authors (Mark van der Laan and Sherri Rose) stated that "We know that for large enough sample sizes, every study—including ones in which the null hypothesis of no effect is true — will declare a statistically significant effect.".  Well, I for one didn't know that. Is this true? Does it mean that hypothesis testing is worthless for large data sets? Are there specific techniques/filters for snowscapes? postfix discard or change Message-ID header based on another header line I want to change the Message-ID header or better yet, discard it. I know everyone is going to ask "Why would you want to do that?" because I know it sounds weird to even write it.  Well I am developing a system that saves an incoming e-mail in EML format, changes it and sends it to the user, at some point the user can request to have the original EML sent to him/her. The issue is that when I re-send the EML it has the same Message-ID header which causes exchange servers to drop the re-send.  Of course I am hoping there is some option through postfix to do this, otherwise I will need to parse and change the EML but I rather not do that.  I tried to do this with "header_checks" and it works BUT I need to be able to do this conditionally, meaning only on a specific occasion, which I can identify by looking at the other headers, I want to remove the Message-ID. Stack Overflow as a reference in a professional paper/presentation Suppose I'm doing an academic paper, journal article, or other professional presentation.  Would you say that it would be possible to use Stack Overflow as a reference?    Of course I'm pretty sure that the answer here would be "yes."   So here's the follow up: When, if ever, would it be a good idea to cite a Stack Overflow question as a reference in an professional paper/presentation of some kind? Club filter of $\kappa$ is $\kappa$-complete I'm trying to show that club filter of $\kappa$ is $\kappa$-complete for uncountable regular cardinal $\kappa$:  Let $\kappa$ be uncountable regular cardinal, let $C(\kappa)$ be the club filter generated by $\kappa$.  To show that $C(\kappa)$ is $\kappa$-complete it is enough to show that for every sequence $\langle \alpha_i\mid i&lt;\gamma\rangle$ with $\gamma&lt;\kappa$ and $\alpha_i$ club of $\kappa$ the set $\alpha=\bigcap_{i&lt;\gamma}\alpha_i$ is a club of $\kappa$.  Showing that $\alpha$ is close is easy:     If $\beta_n$ is a sequence in $\alpha$ then for every $i$ we that $\beta_n$ is a sequence in $\alpha_i$, because $\alpha_i$ is a club it is close hence $\lim \beta_n$ is in $\alpha_i$ for every $i$ so it is also in $\alpha$   But I have a problem with unboundedness, my guess will be for each $\lambda&lt;\kappa$ to find a sequence for each $\alpha_i$ such that all of the sequences converge to some $\mu&gt;\lambda$, that way $\beta&lt;\mu\in\alpha$. I think I'll have to use the fact $\kappa$ is regular, but I don't know how to proceed and prove my idea.  So, is my idea correct, and if yes how can I proceed?