I have a div that is width 100% and height 100%. Inside I have a 200px x 200px div. I'd like the 200px x 200px to align to the vertical and horizontal center of the outer div. Like in Photoshop when you align to the vertical or horizontal center. I've only been able to align from the edges so far. Is this possible?   Thanks
How can I horizontally center a &lt;div&gt; within another &lt;div&gt; using CSS? &lt;div id=&quot;outer&quot;&gt;   &lt;div id=&quot;inner&quot;&gt;Foo foo&lt;/div&gt; &lt;/div&gt;
Why am I getting no power when I pedal? I am nearing the end of my PhD and I would quite like to buy a "thank you" gift for my supervisor (although, she's the socially awkward type who I'm sure will be greatly embarrassed to receive one).  I'm just wondering whether a gift is the done thing? And if so, what sort of gift seems appropriate? I suppose a bottle of wine would be a safe choice? What happens when a familiar from the Find Familiar spell "dies"? Let $X \subset L^1(\mathbb{R})$ a closed linear subspace satisfying \begin{align} X\subset \bigcup_{p&gt;1} L^p(\mathbb{R})\end{align}    Show that $X\subset L^{p_0}(\mathbb{R})$ for some $p_0&gt;1.$   I guess the problem is that in infinite measure spaces the inclusion $L^p\subset L^q$ only holds for $p=q$. Is it maybe possbile to apply Baire's Theorem in some way? Unable to install Springseed 2 on Ubuntu 15.04 Why isn't temperature frame dependent? In (non-relativistic) classical physics, if the temperature of an object is proportional to the average kinetic energy ${1 \over 2} m\overline {v^{2}}$of its particles (or molecules), then shouldn't that temperature depend on the frame of reference - since $\overline {v^{2}}$ will be different in different frames?  (I.e. In the lab frame  $K_l = {1 \over 2} m\overline {v^{2}} $, but in a frame moving with velocity $u$ relative to the lab frame, $K_u =  {1 \over 2} m \overline {(v+u)^{2}}$). Determining a patients biological age? I am looking for an algorithm that shows the exact coefficients some variables that have on a hospital patient's chronological age versus their biological age.   I understand a lot of the variables that go into determining ones biological age (i.e. Blood pressure, diet, family history of disease, obesity etc.) but not the amount of impact that it has on the actual scoring of their age.  I have found many sites that will calculate it, however I need the actual variable coefficients and influence in order to produce a proper score for thousands of patient records.   Thanks in advance for your input! Using \footnote in a figure's \caption Maybe this is an easy one, but I struggled with this now too long :)  I want to have a footnote in a caption of a figure, see the example.   \begin{figure}[!ht]   \caption{a figure caption\footnote{where i got it from}}   \label{somelabel}   \begin{center}        \pgfuseimage{...}   \end{center} \end{figure}   The compilation error reads as follows  ! Argument of \@caption has an extra }. &lt;inserted text&gt;              \par  l.192 ...i got it from}}   The actual tex code for my figure with the answer of Leo  \pgfdeclareimage[width=6cm]{aba.medcenter}{aba.medcenter}  \begin{figure}[!ht]   \begin{minipage}{\textwidth}     \caption[Medcenter Monthly Medication System]{Medcenter\textsuperscript\textregistered Monthly Medication System\footnote{Quelle Bild: http://www.amazon.com/dp/B000RZPL0M}}     \label{aba.medcenter}     \begin{center}       \pgfuseimage{aba.medcenter}     \end{center}   \end{minipage} \end{figure}   leads to the error  ! LaTeX Error: Command \itshape invalid in math mode.   in the same line. If I comment out the foot note, everything compiles fine. \textsuperscript\texttrademark isn't the problem, too. Capture stdout and stderr into different variables General system specs for large scenes in blender What are the system requirements for working with complex geometry in Blender? Things like RAM, GPU, CPU etc.? I have a WordPress site which is 90% based on images.  I've installed Wp-Super-Cache, now it seems to load a little bit faster.   I've made a speed test on Pingdom Tools:   Page size 4.7MB Load time 5.09s Requests 153 Perf. grade 74/100   And also the Time Spent per Content Type:   Image    88.23%     So the problem is obviously the images.   My plan is to try as much as I can to optimize the images in terms of size, and then to add CDN support.  Is this enough in terms of improving the loading of images? Use Objects.hash() or own hashCode() implementation? I have file1.txt    this is the original text   line2   line3   line4   happy hacking !     and file2.txt    this is the original text   line2   line4   happy hacking !   GNU is not UNIX     if I do: diff file1.txt file2.txt I get:    3d2   &lt; line3   5a5   &gt; GNU is not UNIX     How is the output generally interpreted? I think that &lt; means removed but what do 3d2 or 5a5 mean?  If I do:    $ diff -u file1.txt file2.txt   --- file1.txt        2013-07-06 17:44:59.180000000 +0200   +++ file2.txt        2013-07-06 17:39:53.433000000 +0200   @@ -1,5 +1,5 @@    this is the original text    line2   -line3    line4    happy hacking !   +GNU is not UNIX     The results are clearer but what does @@ -1,5 +1,5 @@ mean? What are the differences between vector graphics and raster graphics? Uncertainty and wave-trains My textbook and the following extract from feynman's lectures present the same idea regarding wavetrains and uncertainty in their wavelengths. Why is it that a wavetrain confined to some space has an uncertainty in its wavelength or the wave number? Is not a confined wave-train equivalent to a burst of successive pulses which can have a definite wavelength according to their origin or nature of origin.   Next, i understand that the De Broglie relation relates the uncertainty in wavelength to the uncertainty in momentum but what links the finiteness of the wave-train to the uncertainty in position? $ echo $(( 255 )) 255 $ echo $(( 33 )) 33 $ echo $(( ~33 )) -34 $ echo $(( ~255 )) -256 $    and my kernel is:  $ uname -a Linux HOSTNAME 3.2.0-40-generic-pae #64-Ubuntu SMP Mon Mar 25 21:44:41 UTC 2013 i686 i686 i386 GNU/Linux     QUESTION: ~ is for negating the number AFAIK. But why does ~33 produce -34 and why does ~255 produce -256? Momentum is defined by the product of mass and velocity. Now a projectile out of a gun has to have high velocity to penetrate a human body, as its mass isn't significant. But to reach this velocity, due to inertia/the law of energy conservation, momentum on both sides is to be equal. As there is strong negative acceleration in the opposite direction of the bullet, it should result in a strong force in the opposite direction of the bullet ($F = m*a $).  Therefore I wonder why shooting a bullet with a handgun is not ripping your hand apart. I have an object with two solidify modifiers added, but the modifiers are not visible in the view pane. How can I see the applied modifiers. This is in Blender 2.91 I get this warning:     Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release   What does it mean? Positioning of decorations on parallel lines