This is probably a very simple fix but I have a spinner which I cannot get to center in the page whenever I shows on the page for some reason  My CSS is here:  #spinner {     height: 55px;     width: 55px;     display: inline-block;     position: absolute;     margin: 0 auto;     z-index: 1;     transform: translate(50%, 50%);     -webkit-transform: translate(50%, 50%);     -ms-transform: translate(50%, 50%);     -moz-transform: translate(50%, 50%); }   Simple HTML Mark-up  &lt;div id="spinner"&gt;   &lt;img src="http://via.placeholder.com/50x50"&gt; &lt;/div&gt;   You can see the JS Fiddle here     #spinner {     height: 55px;     width: 55px;     display: inline-block;     position: absolute;     margin: 0 auto;     z-index: 1;     transform: translate(50%, 50%);     -webkit-transform: translate(50%, 50%);     -ms-transform: translate(50%, 50%);     -moz-transform: translate(50%, 50%); } &lt;div id="spinner"&gt;   &lt;img src="http://via.placeholder.com/50x50"&gt; &lt;/div&gt;
I want to center a div vertically with CSS. I don't want tables or JavaScript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support. &lt;body&gt;     &lt;div&gt;Div to be aligned vertically&lt;/div&gt; &lt;/body&gt;  How can I center a div vertically in all major browsers, including Internet Explorer 6?
The Half-Elven and their choices Earendil and Elwing were given the choice of kindreds after their journey to Valinor, This choice was extended to their sons (specifically sons, not daughters or grandchildren)  Elrond chose the race of the Eldar and his brother Elros chose to be counted amongst the Edain. Thus far Manwë's proclamation has been fulfilled.  There are some inconsistencies here:   Arwen was given the choice, but Elladan and Elrohir remained as Eldar in Imladris Tar-Vardamir was not given the choice The offspring of Imrazor and Mithrelas in Dol Amroth dont seem to have been given a choice   I can think of only one explanation, that the Mannish blood is dominant over the blood of the Eldar, thus, As Vardamir was the offspring of two mortals he did not fall under Manwë's proclamation despite being the son of a half elven.  However this does not seem to explain the other inconsistencies, Is it possible that Elladan and Elrohir and also the princes of Dol Amroth weren't considered important enough by Manwë or Eru to give them the choice.  Also as a side note Tolkien states there were only three unions between man and elf, but this seems to ignore Turin/Finduilas and Imrazor/Mithrelas  My question is, Why was Arwen given the choice and not the sons of Elros? I created the shiftcommandn shortcut for Firefox in Syst Prefs to match other browsers' behavior.     It registers in the Firefox Menubar.     But pressing the shortcut opens a new non-private window, and it loads there the first item in my "Top Sites".   I imagine I could create another shortcut to override this behavior, but what is this behavior? I don't see anything highlighted in the Firefox Menubar when I hit the shortcut. Or might there be another solution (other than using a different shortcut to open new private windows)?   Problem exists on both Mojave and High Sierra. Default Firefox shortcut (shiftcommandp) still opens a new private window. SQL Server equivalent to Oracle's CREATE OR REPLACE VIEW In Oracle, I can re-create a view with a single statement, as shown here:  CREATE OR REPLACE VIEW MY_VIEW AS SELECT SOME_FIELD FROM SOME_TABLE WHERE SOME_CONDITIONS   As the syntax implies, this will drop the old view and re-create it with whatever definition I've given.  Is there an equivalent in MSSQL (SQL Server 2005 or later) that will do the same thing? Latex create a second keywordstyle using listing doesn't work How can I find my Bug-report that I submitted from the Desktop on launchpad?  I have found a partial solution to my own question:  The program that sends the Bug-reports from the desktop is called apport. It doesn't requires a launchpad account. The service whoopsie submits the Bug-Report directly to the server daisy.ubuntu.com (I'm not sure if those bugs actually appear on launchpad publicly.)  But I found my Bug-Report on my Harddisk in /var/crash/ .  From there I can copy and paste parts of the file to my opened bug on launchpad. Thanks for your tips.  Original question:  I had a severe bug, and I found someone with the same problem in launchpad. After I found a temporary fix I was able to submit the bug with the ubuntu-bug-reporter.  How can I find this ubuntu-bug-reporter generated bug-report in launchpad? I would like to combine those two bug-reports (mark as duplicate). Because the generated one has all the debug information and the other one has the description of this bug. How to read numbers separated by space using scanf AudioSessionSetActive and AudioSessionSetProperty is deprecated in iOS 7 Is it possible to tell Google's Webmaster Tools that our site hosted on www. has moved to a sub folder, sub domain or a new domain with sub folder? How to Straighten Curved UVs into Straight Belt Showing the actual 3D model of a curving ramp.  Shows the UVs of that model that blender did automatically. Shows the UV image that I need.   I am going put a road texture on it., but round faces are not helping me at all. All I need is straight belt kind of UV. How to sort lines by float number I've such a file:  name: xxx --- time: 5.4 seconds name: yyy --- time: 3.2 seconds name: zzz --- time: 6.4 seconds ...   Now I want to sort this file by these float numbers to generate a new file as below:  name: yyy --- time: 3.2 seconds name: xxx --- time: 5.4 seconds name: zzz --- time: 6.4 seconds ...   I've tried the command awk '{print $5}' myfile | sort -g but this will show me ONLY the float numbers. I accidentally issued some commands I thought were safe in the terminal, and I ended up with no System Settings and lots of other missing functionality, but the OS still boots normally. I've decided I want to install Lubuntu instead of fixing Ubuntu for a fresh start and since my laptop is running on a 1GHz dual core AMD CPU.  I created a bootable USB as I usually do and placed Lubuntu 17.10 amd64 using Rufus 2.14.1086. I have GRUB that was installed with Ubuntu upon first install I still have Win8.1 which I still want to keep.  PS: I also tried creating a startup disk from Ubuntu  The question is: How can I boot from USB with GRUB2 so I can overwrite Ubuntu? Firstly, how do you gain the score exactly? I know it shows in the bar on the side of the map, but I remember a match where I was lone-wolfing and still got a pretty high score in that bar. I suppose my other squad members were together, but do I also gain for their work?  Also, does the score reset when I start a new game? I mean, I play support with the Offensive perk and it took me a long game of conquest to just unlock lvl-3 extra grenade. In the next match, that 'nade is gone. Don't I keep it forever? Reinstalling Windows 10 - how many digital licenses I have linked to my account I need to reinstall Win 10 (after virus). After reading online, it looks like I would be able to do it easily since my system is activated with digital license.   However, I have a question. I have at least 3 PCs in my house with the same Microsoft account on them. Presumably, all of them have digital license linked to this same Microsoft account. I wonder if there is a centralized place to check all my digital licensed connected to my Microsoft account? Is the total energy of the universe zero? Change font of formula number in DisplayFormulaNumbered When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad? Let $K$ be a field and $f \in K[x]$ a polynomial of degree $n&gt;0$. Assume that $E$ is an extension of $K$ such that $f$ can be expressed as a product of linear factors over $E$:  $$f(x)=\gamma (x-\alpha_1)(x-\alpha_2)\dots(x-\alpha_n).$$  I want to show that $\lvert K(\alpha_1,\dots,\alpha_2) : K \rvert$ is a divisor of $n!$. I also want to show that if $\lvert K(\alpha_1,\dots,\alpha_n): K \geq (n-1)!$ then $f$ is irreducible over $K$ or $f$ already has a root in $K$.  The problem has a hint. It says: "Use induction on $n=\deg f$. If $f=gh$ in $K[x]$ with $\deg g =r$ and $\deg h=n-r$, then $r!(n-r)!$ is a divisor of $n!$.  Any idea for solving this problem would be appreciated. Should we allow adding rep to bounties to extend their duration? There are a few variables here that I was thinking about:   Spend rep to extend a bounty for a certain amount of time Allow the rep spent to extend duration to add into the original bounty Create minimums on the amount necessary to extend dependent on how long it has been up   These are just ideas and can be tweaked as necessary, but the idea in whole is to encourage people to spend more on rep and avoid "wasted" rep because there wasn't a good answer to a question while minimizing the amount of possible abuse. This was part of the idea to spend a small amount of rep to extend duration without adding to the rep so that you wouldn't have to spend the whole amount over again for a couple more days.  The typical use case that I am thinking of is when you create a bounty and it still gets no attention. I think it would be cool if you could then add onto it to turn it into a higher bounty instead of having those points completely gone.  Possible abuses:   Keeping bounty questions alive for inappropriately long times. There is already an answer but the author does not want to award the bounty.   For 1, you can resolve this by increasing the amount necessary to keep a question alive exponentially similar to what is already in place. You could also halve the amount of extended duration per extension. For 2, this is a problem with the existing system as well, but the author does not have a positive incentive not to award the points since he himself still cannot get them back. how can I open a extra console and run a program in it with one command? So I know if I type gnome-terminal or xterm, a new window will be popped out. Then I checked the man page for these two, nothing relevant found.  Then I noticed under Mac you can do it with the program open. But it seems under Linux it's not that trivial.  Does anyone have experience? Adjective for "terrified yet calm and capable" What is an adjective to describe the duality of a first responder (such as an EMT responding to a terrorist attack) who is terrified for the wounded, yet simultaneously calm, detached, and capable enough to give aid?