I'm writing a Terms of Use page using , which is contained within a card-panel. I find that 'as-is', the spacing at the top is too much:    Here, the margin-top of the h4 element get added to the padding of the containing card-panel, which is 24px. I think the former is actually sufficient spacing by itself from the top of the shadowed box, so I tried setting padding-top of this card-panel to zero using the following SCSS rule:  .lucy-terms {   .card-panel.lucy-card-panel {     padding-top: 0;   } }   However, with this enabled, I find that the spacing becomes too small:    When I highlight it, it seems like the margin-top of the h4 element falls outside the box. Shouldn't the margin of the element fall within the containing element? How can I fix this?  I've included the relevant snippet below.    body {   background-color: #f3f3f3; }  .card-panel.lucy-card-panel {   padding-top: 0; } &lt;html&gt;   &lt;head&gt;     &lt;!-- Materialize.css --&gt;     &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css"&gt;     &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"&gt;&lt;/script&gt;   &lt;/head&gt;   &lt;body&gt;     &lt;div class="container lucy-terms"&gt;       &lt;div class="row"&gt;         &lt;div class="col s12 m12"&gt;           &lt;div class="card-panel lucy-card-panel"&gt;             &lt;div class="card-content"&gt;               &lt;h4 class="center-align"&gt;Terms of Use&lt;/h4&gt;               &lt;p class="flow-text uppercase"&gt;PLEASE NOTE THAT YOUR USE OF AND ACCESS TO OUR SERVICES (DEFINED BELOW) ARE SUBJECT TO THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO ALL OF THE FOLLOWING, YOU MAY NOT USE OR ACCESS THE SERVICES IN ANY MANNER.&lt;/p&gt;               &lt;p class="flow-text"&gt;Effective date: April 2, 2018&lt;/p&gt;           &lt;/div&gt;         &lt;/div&gt;       &lt;/div&gt;     &lt;/div&gt;   &lt;/body&gt; &lt;/html&gt;
So essentially does margin collapsing occur when you don't set any margin or padding or border to a given div element?
My motherboard currently supports both SATA II and III (3 Gb/s and 6Gb/s respectively), but after reading some online, it seems as though connecting a HDD to the 6 Gb/s is pretty much pointless. If this is the case I'm going to leave my two SATA III ports open for something that can actually use it (which at this point I'm not really sure what can).  This is part of an article I read:     In terms of everything else, we saw basically no difference from the same single drive being plugged into a SATA 6Gb/s or SATA 3Gb/s port. All of this is obviously due to the hard drive not being able to actually take advantage of the 6Gb/s bus.   from . Does a US citizen traveling by plane in Mexico (international flight), for example from Mexicali to Mexico City need to have a passport? What's the right way to hard boil eggs? I'm working on a fairly big document that has a lot of graphs of functions- so far it has around 200, by the end it will have around 1500. I use pgfplots for each graphic, and the functions are pretty basic: exponential, rational, polynomial, and trigonometric.  Once I am happy with each graph, I don't necessarily need to see it every time I compile, and would like to minimize compilation time for future drafts. Naturally, the document is already chopped up into chapter files, but each chapter contains around 100 figures.  Having studied the pgfplots documentation, I haven't found a draft mode, but I'm interested in knowing if one could be created.    I'm envisaging something similar to the draft mode of the graphicx package, in which graphics are not included, and blank boxes are put in their place.  Some things I've considered:   the  documentclass; but with about 1500 figures, wouldn't this mean over-modulization?  tikzexternalize, but this still requires an initial 'monster' compilation to get the images externalized before the draft option could be invoked   Here's a MWE to play with  \documentclass{article} \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture}     \begin{axis}         \addplot {x^2};     \end{axis} \end{tikzpicture}  \end{document} Why does DMM show AC and DC current when source is a battery? (How to calculate power in this case?) The circuit is an altered Joule Thief of my design that is driven by an AA or AAA battery. I’m observing the current at the battery anode with my DMM in series. (Extech EX330) This circuit is extremely efficient (In relation to other Joule Thief I've build.) and does some weird stuff - like, it needs a pushbutton sometimes.    Measurements: It is drawing 9.21 mA DC and 6.48 mA AC in series with the battery. It shows 1.364 VDC and 0.010 VAC in parallel with the battery. Output on the LED is 2.572 VDC and 0.011 VAC with no measurable frequency. (with my DMM at least) All measurements are taken with the same configuration and voltage.    But how is it drawing AC and DC and how do I calculate power consumption? --> Could it be because the emitter pin of the NPN is directly connected to ground? --> Or is the circuit just "switching on and off"?     Download schematic:  (I tried to simulate the circuit in LTspice. Thanks for making me aware of this amazing program, Sredni Vashtar!)     What the pushbutton is used for: The pushbutton is used to "kickstart" the oscillation when it wont start by itself. For example: I have to manually "oscillate" using this button to start the circuit if the capacitor is too big and battery voltage is low. Pushing the button releases the energy in the transformer into the capacitor. If it reaches LED forward voltage the circuit keeps oscillating on it's own. It does work without manual intervention when then capacitor in parallel with the LED is not too big, like &lt;5000 µF, and it's a fresh battery.    . Thank you for your answers! I'm learning so much! :D Adding related resources or hyperlinks in edits So, I've been rejecting the addition of resources/hyperlinks to posts simply because I had no idea that this was an acceptable practice.  Today, I was browsing through the edits page and saw:     Some common reasons to edit are:         to fix grammatical or spelling mistakes   to clarify the meaning of a post without changing it   to correct minor mistakes or add addendums / updates as the post ages   to add related resources or hyperlinks      Why is this an acceptable practice?  I can see adding links to official documentation, but the quality of outside resources is (potentially) subjective.  I see the merit in adding resources, but it seems to me that these additional resources should be placed in comments, not inserted into the post via an edit.  Anyone have thoughts on this? Factorial of 0 - a convenience? Select all columns except one in MySQL? I'm trying to use a select statement to get all of the columns from a certain MySQL table except one. Is there a simple way to do this?  EDIT: There are 53 columns in this table (NOT MY DESIGN) Java date format conversion - getting wrong month Is it possible to add subtitles of a figure which contains subfigures I have a single image which contains two sub-images. I want the following subtitles (a) and (b) to be shown correctly.   In which, left sides is my current image which contains two rectangular. And right sides is my expected result. I found a solution is that we can use subfig package. However, it requires separating the original figure into two subfigure. In that question, I am regarding that we do not need split original figure, I want to write (a),(b) directly below figure. Thanks Current solution is  \begin{figure}[H] \captionsetup{labelfont={bf}}   \centering     \subfloat[]{\centering\includegraphics[scale=0.5]{Fig1a.png}} \\     \subfloat[]{\centering\includegraphics[scale=0.5]{Fig1b.png}}   \caption{This is main figure}   \label{fig:9} \end{figure} "They're going gorilla watching" - is there a verb at the end of the sentence? In this sentence:     They're going gorilla watching.   what's the function of the verb watching?   Is it a verb? a noun? ... maybe gorilla watching means "mirador de gorilas", in spanish?  In English, I have not seen a verb at the end of a sentece. Is it proper usage to replace a comma in a list with a semi-colon in this situation (see details)? While writing a proposal at work today I needed to mention a list of things and within that list were multi-part items. It seems like replacing the comma with a semi-colon in this situation would make the sentence easier to understand, but is it correct usage?  With standard punctuation this could get confusing:       Some of my favorite things to do are   camping, playing football and   baseball, watching Laurel and Hardy   Movies, and traveling.   Proposed alternative. Is this acceptable usage?       Some of my favorite things to do are   camping; playing football and   baseball; watching Laurel and Hardy   Movies; and traveling. Show that $n-m$ is a multiple of 9 when $n$ and $m$ have same digits From , page 209:     Dividends   Dividends are income paid by investments. Both bond funds   and stocks can  pay dividends. Bond fund dividends (the interest paid   by the individual  bonds in a fund) tend to be higher (as a percentage   of the amount you have  invested in a fund). When a dividend   distribution is made, you can receive  it as cash (which is good if   you need money to live on) or reinvest it into  more shares in the   fund. In either case, the share price of the fund drops to  offset the   payout. So if you’re hoping to strike it rich by buying into a bunch    of funds just before their dividends are paid, don’t bother. You’ll   just end up  paying more in income taxes.    It is talking about mutual funds.   I've never played with stocks.  However, I would like to know more about it.  Does the bold text imply the stock price will drop because of a company giving out a dividend? How to define a recurrence relation in Maple without the command proc? Main Reference + Appendix with "Other Sources" I need your help with references. I have 1 main reference section, and I want to include a second list of references as an appendix. For the main reference I use:  \newpage  \bibliographystyle{plainnat}  \bibliography{library}   The problem is that I don't know how to include the second list using a different bib file, and then calling the function \nocite{*} to show every sources inside the file.   I have the appendix part workout. I need your help to design the function to call the second bibliography, and that does't interfere with the main reference:   \newpage  \appendix  \section{Other Sources} \label{app:ReferencesB}   In addition, I will prefer that the word References is not shown after Other Sources.  Thank you so much!! I am trying to get a better feel for the topology of ordinals and just received a great answer to this  where the Cantor-Bendixson rank and degree turn out to be a complete homeomorphism invariant of countable compact spaces. Now I am curious about what is going on within homeomorphism classes of ordinals. In particular, I want to know how to characterize countable ordinals $\alpha$ which are minimal among all ordinals homeomorphic to $\alpha$.   Certainly finite ordinals and $\omega$ are easy. Next, if $\alpha\cong \omega+1$, then it seems like we would have to have $\omega+1\leq \alpha&lt;\omega +\omega$ since there can only be one limit point in $\alpha$. Things become a little fuzzier for me with ordinals that have infinitely many limit points.  For instance, suppose $\alpha$ is an ordinal homeomorphic to $\omega^{\omega}$. Is it necessarily true that $\alpha\geq \omega^{\omega}$? Is there a general rule for knowing when an ordinal is the smallest among all ordinals homeomorphic to it? I'm trying to show the following:  Let $f:X\to Y$ be a proper holomorphic map between connected, non-empty Riemann Surfaces. Show that a map $g:Y\to\mathbb{C}$ is  holomorphic if and only if  its composition with f is holomorphic.  So far I know that $f$ is surjective, since it's proper and holomorphic. My next step was to look at the charts, but it's there, I get stuck. Intuituive reason why Fermats last theorem holds I am unsure of whether it is normal, but to me, intuitively Fermats last theorem should not hold.  If anyone intuitively believed it to be correct, why?     Can someone explain so I understand somewhat why FLT holds without reading a massive and complex proof? Why do return flight costs vary depending on the country of origin?