I have the following code and I want to center the text vertically next to the image.    .section_content {     width: 400px; }  .section_content &gt; ul &gt; li &gt; img {     width: 40px;     height: 40px;     padding: 5px; }  .section_content &gt; ul &gt; li &gt; a {     vertical-align: top; }  .section_content &gt; ul &gt; li {     list-style-type: none; }  .section_content &gt; ul {     list-style-type: none;      padding-top: 45px;     padding-left: 5px; } &lt;div class="section_content"&gt;         &lt;ul&gt;             &lt;li&gt;&lt;img src="img/linkedin.svg"&gt;&lt;a href="https://be.linkedin.com/in/lel"&gt;LinkedIn&lt;/a&gt;&lt;/li&gt;             &lt;li&gt;GitHUb&lt;/li&gt;         &lt;/ul&gt;     &lt;/div&gt;
Why won't vertical-align: middle work?  And yet, vertical-align: top does work.   span{   vertical-align: middle; } &lt;div&gt;   &lt;img src="https://via.placeholder.com/30" alt="small img" /&gt;   &lt;span&gt;Doesn't work.&lt;/span&gt; &lt;/div&gt;
How could we improve our planned post notice improvements? Megan has written a .  I've seen a bunch of discussion about it on chat - but it feels like having it purely on the blog is a little clunky.  So specifically - what does the MSE community feel about the proposed post notices for closed questions? What's missing, or what should be added? What are some of the lessons we've learnt that could be helpful here? LaTeX template for typesetting a novel c++ get registry key returns only one char Poincaré inequality for a subspace of $H^1(\Omega)$ The following is the well known  for $H_0^1(\Omega)$:       Suppose that $\Omega$ is an open set in $\mathbb{R}^n$ that is bounded. Then there is a constant $C$ such that   $$ \int_\Omega u^2\ dx\leq C\int_\Omega|Du|^2\ dx\quad \textrm{ for all   }\ \ \color{red}{u\in H_0^1(\Omega)}. $$   Here is my questions:    Can the condition $u\in H_0^1(\Omega)$ be relaxed so that the inequality is still true? More precisely, suppose $H$ is a subspace of $H^1(\Omega)$ such that for any $u\in H$, $u|_\Gamma=0$, where $\Gamma$ is a ([Added:]nonempty) closed proper subset of the boundary $\partial\Omega$ and the idenity is in the sense of trace. In other words, $u$ is only zero on a part of the boundary. Do we still have the Poincaré ineqaulity in $H$?    [Added:] This question is motivated by the following exercise Give users a way to see their "Positive Question Record" score Javascript for multiple elements How to Drag and Drop files to open application? Since Ubuntu 18.04 I can't drag a file e.g. image file to an open application such as Inkscape or  email message window. In Ubuntu 17.10 I was able to select the image file by clicking on it, and while holding down left mouse button I would hit the supper key displaying all open windows where for there I could then drop the file in any open app or folders. This is no longer possible/default behaviour since Ubuntu 18.04. Is there a workaround that would allow me to achieve this or even a way to recreate the same behaviour like in 17.10? Inductive proof of a formula for Fibonacci numbers May someone help me? I am trying to use induction to prove that the formula for finding the $n$-th term of the Fibonacci sequence is:   $$F_n=\frac{1}{\sqrt{5}}⋅\left(\frac{1+\sqrt{5}}{2}\right)^n-\frac{1}{\sqrt{5}}⋅\left(\frac{1-\sqrt{5}}{2}\right)^n.$$  I tried to put $n=1$ into the equation and prove that if $n=1$ works then $n=2$ works and it should work for any number, but it didn't work. I need to prove that this formula gives the $n$th Fibonacci number. How could the Fremen do what they did to the empire in Dune Messiah? How could, and why would, the Fremen's jihad kill 61-Billion people and conquer the known universe?  Their leader Paul was already emperor.  What was left to conquer?  And how could they force this onto Paul when they had no relationship with the Spacing Guild except thru Paul?  If Paul didn't arrange for transportation then how would they get off Arrakis?  And how does a small population of hardened, rugged, but not technologically advanced people do that much conquering in that time?  Also, is there any explanation about how Ix, Tleilex planet and Bene Gesserit planets hold off the wave of jihad? $p_1p_2...p_n +1$ is not square for $p_k = k$'th prime Do Category Theory and/or Quantum Logic add value in physics? I know they have their adherents, but do more or less esoteric branches of mathematics such as Category Theory and/or Quantum Logic provide powerful tools for new theory development or are they just occasionally-useful presentational frameworks?  More particularly, is it worth investing the time to study these formalisms? Change the URL in the browser without loading the new page using JavaScript Code coverage for wrapper class is 0% I have written below Wrapper class.  global class BI_VA_AutomationWrapper {      global class BI_VA_AutomationRequest {      webservice String userName;     webservice String emailId;     webservice String buinessUnit;     webservice String orgName;     webservice String country;     webservice String environment;     webservice String myShopNumber;     webservice String BidsId;//for testing     webservice String Type; //for testing  }  global class BI_VA_AutomationResponse {      webservice String responseStatus;     webservice String myShopNumber;     //webservice list&lt;Error&gt; errorMessages;     webservice String  errorMessages;//for testing   } global class BI_VA_Error {      webservice String type;     webservice String message;    }}   And test class is,  @isTest public class BI_VA_AutomationWrapperTestClass  { public static testMethod void unitTest(){      BI_VA_AutomationWrapper.BI_VA_AutomationRequest wrap= new BI_VA_AutomationWrapper.BI_VA_AutomationRequest();        wrap.userName='Test@test.com';     wrap.emailId='Test@test11.com';     wrap.buinessUnit='AH';     wrap.orgName='ORD';     wrap.country='US';     wrap.environment='QA';     wrap.myShopNumber='123456789';     wrap.BidsId='123';     wrap.Type='ResetPassword';              BI_VA_AutomationWrapper.BI_VA_AutomationResponse res= new BI_VA_AutomationWrapper.BI_VA_AutomationResponse();     res.responseStatus = 'Success';     res.myShopNumber = '987654321';     res.errorMessages = 'Test error';      BI_VA_AutomationWrapper.BI_VA_Error error = new BI_VA_AutomationWrapper.BI_VA_Error();     error.type = 'Test';     error.message = 'Test';  }}   Code coverage is 0% only. Keen eye for detail (or details?) Which one is correct? "To have a keen eye for detail" or "To have a keen eye for details"? I'm level 16 which makes battling many Draugr Wrights hard. My defense is just way too low, and I don't have enough time or strong enough magic to take them out.   My one-handed skill is at 62 and my strongest weapon does 33+10 enchanted damage. Are there any ways to level up easily? How do I configure Nautilus to open at my Documents folder instead of my home folder?  I've scoured this site and found answers instructing users to edit the /usr/share/applications/nautilus.desktop file, replacing %U with the path to the desired default directory. I've edited all the variants of nautilus.desktop in the said directory, but none of the edits has an effect. I've checked all the files after editing them to make sure that I saved the edit effectively, and all look good to me.   I've edited every file to read as follows:  Exec=nautilus --new-window /home/judy/Documents   I've also edited the org.gnome.Nautilus.desktop file, just to be sure, with no joy.   I'm running Ubuntu 15.10.  Note: if I enter nautilus /home/judy/Documents from the command line, Nautilus properly opens in the desired directory.  Is there a simple way that I can configure an icon in the launcher bar to run this command and have the Nautilus icon that looks like a metal file drawer?  Thanks. I'm pulling my hair out over this one. Construction of a right triangle It's a high school level question which we can't seem to solve. Here it is:      Given $2$ lines, one of the length of the hypotenuse and the other with the length of the sum of the $2$ legs, construct with straightedge and compass the corresponding right triangle   I didn't make much progress. It seems that there's a theorem or a few basic facts about right triangles that I'm missing. What path do you suggest I take?  Thanks for your help. du wrongly reports empty directory I'm using these commands:    du -sh --apparent-size ./* du -sh ./*   both reporting:    4.0K    ./Lightroom_catalog_from_win_backup 432M    ./Lightroom catalog - wine_backup   while those directories contain:    $ll ./"Lightroom catalog - wine_backup" total 432M -rwxrwx--- 1 gigi gigi 432M Mar 18  2018 Lightroom 5 Catalog Linux.lrcat -rwxrwx--- 1 gigi gigi  227 Nov 21  2015 zbackup.bat $ll ./Lightroom_catalog_from_win_backup total 396M -rwxrwx--- 3 gigi gigi 396M Dec 17 09:35 Lightroom 5 Catalog Linux.lrcat -rwxrwx--- 3 gigi gigi  227 Dec 17 09:35 zbackup.bat   Why du is reporting 4.0K for ./Lightroom_catalog_from_win_backup and how could I make it to report correctly?  PS: other system information:    $stat --file-system $HOME   File: "/home/gigi"     ID: 5b052c62a5a527bb Namelen: 255     Type: ext2/ext3 Block size: 4096       Fundamental block size: 4096 Blocks: Total: 720651086  Free: 155672577  Available: 119098665 Inodes: Total: 183050240  Free: 178896289  $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 16.04.5 LTS Release:        16.04 Codename:       xenial How to divide an image into blocks in MATLAB? Proof that every number ≥ $8$ can be represented by a sum of fives and threes. Can you check if my proof is right?  Theorem.  $\forall x\geq8, x$ can be represented by $5a + 3b$ where  $a,b \in \mathbb{N}$.  Base case(s): $x=8 = 3\cdot1 + 5\cdot1 \quad \checkmark\\ x=9 = 3\cdot3 + 5\cdot0 \quad \checkmark\\ x=10 = 3\cdot0 + 5\cdot2 \quad \checkmark$  Inductive step:  $n \in \mathbb{N}\\a_1 = 8, a_n = a_1 + (x-1)\cdot3\\ b_1 = 9, b_n = b_1 + (x-1)\cdot3 = a_1 +1 + (x-1) \cdot 3\\ c_1 = 10, c_n = c_1 + (x-1)\cdot3 = b_1 + 1 + (x-1) \cdot 3 = a_1 + 2 + (x-1) \cdot 3\\ \\ S = \{x\in\mathbb{N}: x \in a_{x} \lor x \in b_{x} \lor x \in c_{x}\}$  Basis stays true, because $8,9,10 \in S$  Lets assume that $x \in S$. That means $x \in a_{n} \lor x \in b_{n} \lor x \in c_{n}$.  If $x \in a_n$ then $x+1 \in b_x$,  If $x \in b_x$ then $x+1 \in c_x$,  If $x \in c_x$ then $x+1 \in a_x$.  I can't prove that but it's obvious. What do you think about this?