Here's my code:   body {   background-color: brown;   display: block; } .domma { /*This part went wrong.*/   display: flex;   flex-direction: row;   justify-content: center;   align-items: center; } .grid {   display: grid;   grid-template: repeat(3, 1fr) / repeat(3, 1fr);   gap: 15px;   width: 500px;   height: 500px; } .grid div {   background-color: black;   color: white;   display: flex;   justify-content: center;   align-items: center; } &lt;body&gt;     &lt;div class="domma"&gt;       &lt;div class="grid"&gt;         &lt;div&gt;1&lt;/div&gt;         &lt;div&gt;2&lt;/div&gt;         &lt;div&gt;3&lt;/div&gt;         &lt;div&gt;4&lt;/div&gt;         &lt;div&gt;5&lt;/div&gt;         &lt;div&gt;6&lt;/div&gt;         &lt;div&gt;7&lt;/div&gt;         &lt;div&gt;8&lt;/div&gt;         &lt;div&gt;9&lt;/div&gt;       &lt;/div&gt;     &lt;/div&gt; &lt;/body&gt;    result:  I hope &quot;.domma&quot;(body) can center for vertical. Then I writtedalign-items: center;. But this is invalid. I don't know how to make it correct. I need help, please HELP ME! Thanks!!!!
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?
Can we build capacitors on a PCB board? For the magnitude of nF or µF capacitors, I hope I can build them on a PCB board. The capacitor is like a two metal layer and something between them.   Is this possible?   Not buying the capacitor, just design the capacitor on the PCB board. Double metal layers on the PCB board. Can we have some tools to handle link rot? There are many links posted in answers, and some in questions, that are either stale or broken.  An example is the change to  on-line documentation this year to do away with separate 'Optional' and 'Core' tasks areas in the documentation - the old links 404 now.  I've fixed a bunch of 'optionaltasks' broken links, but searching for 'coretasks' in Stack&nbsp;Overflow questions returns over 300 matches...  Are there any tools for us to review and fix these - with an emphasis on the fixing - without sifting through completely manually?  Is it time for some refactoring tools for Stack&nbsp;Overflow content, in particular, for links?  Also, I'd be interested to know if there is an analysis of links (as found in the Stack&nbsp;Overflow data dumps) out there. Answer: there is a  of a sample of links and images, but it's getting a bit out-of-date. SQL Server 2008 server cannot connect to itself with alias name or "localhost" We have a SQL Server 2008 ENT 64bit SP3 server running Server 2008 R2 Standard SP1 64-bit.  This is also a windows/sql clustered environment.  There is the cluster alias for the server, and then we have 2 AD DNS aliases as well for the server  Suddenly I can't connect to the sql instance in Management Studio, or with a Powershell Invoke-SQLcmd IF I am doing it from that actual server, when using one of the dns alias names, or "localhost".  If I use the Cluster alias name it works and if I use the other dns alias name it works.  Using management studio with the non-working dns alias I get "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication."  If I use localhost, I get "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)"    Shared Memory and TCPIP are enabled in SQL Server Config manager but named pipes is not.  But we've NEVER had named pipes enabled, and don't have it enabled on any of our other sql servers and they're set up the same (clustering, dns aliases...etc) and are having no issues.  I've Googled around and had a view people suggest listing what other SQL servers it can see (cmd prompt sqlcmd -L)  If it do it from a good server I see all other servers on my network including the "bad" one.  If I do that command from the "bad" server, I get no results at all.  Pretty much checked everything from this blog and it's all ok except the sqlcmd -L issue I just mentioned above.    Windows firewall is not enabled.  This was working just fine for a couple of years.  I'm not sure when this started happening, but I know that at some point, it was not happening.  And the other kicker...it's only happening locally to this server.  If I connect with management studio or run a powershell Invoke-Sqlcmd from another machine, or my local machine connecting to the "bad" server, it works fine no matter what alias I use.  I'm stumped.  I think it sounds like an issue with the AD alias (there are 2 ad aliases, 1 works locally the other doesn't)...but not being able to connect with localhost makes me question that.  any help is greatly appreciated. There are several ideas on hard determinism, but the core seems to be that in an interconnected existence, there can be no "actions" (free will), but only "reactions" (determinism). An action of free will would have to be a separate entity outside of existence, so we'd say it can't occur.   Now fast forward to Joe Schmo the robbing/murdering/rapist.  Joe wasn't born in some infinite bliss utopia, then decided one day to invent the concept of scumbaggery.  He's a product of an incomprehensible number of variables - maybe some are apparent like his dad was a violent alcoholic or whatever, but most likely it's far more complicated than that.    So that's fine - I get all that - but if that's the case, then how can you ethically deal with people like that?  You can't hardly let them do what they please at the expense of society, but then how can you get medieval on them when they're basically riding a wave?  I think that's a big reason why people fight concepts of determinism that mitigate or eradicate the concept of free will - now everyone has a license to do what they want and how can you punish them, it's not their fault!  How would/could/should you consolidate hard determinism with responding to criminal acts? What is the probability that when you place 8 towers on a chess-board, none of them can beat the other. What is the probability that when you place 8 towers on a chess-board, none of them can beat the other.  Attempt: ${64 \choose 8}^{-1} \approx1$ in $4\ 400\ 000\ 000$  Correct answer: ${64 \choose 8}^{-1} \cdot 8! \approx 1$ in $9\ 000\ 000$.  I disagree with the $8!$. If there's combinations (binomial coefficient) in the denominator, why would there be permutations i.e. the order counts, in the numerator? Is there even an automatic ban on meta? Somewhere I heard the automatic question ban on Meta is set lower than on the main site. But looking at the profile of  it looks like there is absolutely no automatic ban on meta.  Is this intended behaviour? Finding solution of non linear DE $x\ddot{x}-\dot{x}^2=1$ I am looking for help on how to find the solution of the following differential equation,  $$x\ddot{x}-\dot{x}^2=1,$$  which comes from solving the Euler-Lagrange equations for the lagrangian $L=x\sqrt{\dot{x}^2+1}$. It is from an exercise in my field theory course. My professor provided me with the solution $x(t)=c_1\cosh{\left(\frac{t-c_2}{c_1}\right)}$, which is a solution when plugged into the equation, but does not give any derivation.   Is there a way to solve this DE other than an educated guess? If so how? Linked and Related sections contain duplicate links to questions Clicking on the rep league lines that read like &quot;top 2% this quarter&quot; returns a 404 page. Example in point:  This report is split off as per request of Adam Lear from OK, I've been having weird problems for the last 1/2 hour trying to  on StackOverflow, and I keep getting this result (on Firefox 3.6)     The connection was reset      The connection to the server was reset while the page was loading.         The site could be temporarily unavailable or too busy. Try again in a few        moments.   If you are unable to load any pages, check your computer's network        connection.   If your computer or network is protected by a firewall or proxy, make sure        that Firefox is permitted to access the Web.      The problem seems to occur when I try to post some code with 'd--- table' in it, where 'd---' is replaced by the word drop.  I cannot post the following 3 lines, in either SO or this site, if they include the well-known SQL statements DROP.  stat.executeUpdate('d--- table if exists people;'); stat.executeUpdate('create table people (name, occupation);'); prep = conn.prepareStatement(...     'insert into people values (?, ?);');   test again:  'dro* table' 'drop ball' drop the table drop fable drop    t*ble droptable   drop a table  The evil words for me are "drop" and "table"... how come you guys can post? :(  edit: Could someone please suggest another online site that is not stackoverflow that is a quick way to try out a POST request of a text field?  UPDATE: Never mind. I don't know what the answer is, but the same problem occurs on Google's website. So it's not stackoverflow. Now to go to my IT Dept... Difference between "little" and "small" Is there a difference between them? If so, how and when are they used?  For example:     I fixed a little/small typo. I have built a peak detector circuit using op-amps/comparators to amplify the signal from an electret microphone, hold the peak signal and create a sharp logic edge when a peak is detected to be sent to a microcontroller.  I have built the circuit as follows setting up OA1 as a non inverting amplifier with a gain of 1000, but the voltage out from the OA1 remains fixed at about 4.5V no matter how much noise I make into the microphone. The comparator part of the circuit is outputting approximately 2V low and 5V high depending on how I set the potentiometer. All the components appear to be working.         &ndash; Schematic created using How does an attacker's reach interact with the Mounted Combatant feat's ability to force an attack against the mount to target the rider instead? Select top 10 records for each category I want to return top 10 records from each section in one query. Can anyone help with how to do it?  Section is one of the columns in the table.  Database is SQL Server 2005. I want to return the top 10 by date entered.  Sections are business, local, and feature.  For one particular date I want only the top (10) business rows (most recent entry), the top (10) local rows, and the top (10) features. Calling acro first use when plural is producing an 's' in the short definition that is wrong I have an acro first use that must be plural, but I am getting an erroneous "s" when I shouldn't be. I'm getting (sIMFs) when it should be (IMFs). See picture and code below. The problem only occurs on the first call and it does so for all my acronyms. Thanks in advance.   \documentclass[12pt,twoside]{report} \usepackage{acro} \DeclareAcronym{IMF}{     short = IMF,     long  = Intrinsic Mode Function,     class = abbrev}  \begin{document} \acp{IMF} \acresetall \ac{IMF} \acp{IMF} \acfp{IMF} \end{document} I'm trying out  with gnuplot to generate the data.  This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the graph.  The problem I'm having is that I get different behaviour under xelatex as pdflatex or lualatex.  In xelatex, the data file is littered with ^^I whereas in the other two formats these are tabs.  It appears that the code ^^I is getting stored as a macro which then gets written out to the file, so possibly there's something funny going on with the ^^I syntax: xelatex is reading it literally.  Indeed, when I do \show\pgfplots@TAB (the macro in question) then for pdflatex and lualatex then I get a literal tab whereas for xelatex I get ^^I.  So how do I get a tab in xelatex?  And why isn't \gdef\pgfplots@TAB{^^I} working?  (The previous line in the code, by the way, is \catcode`\^^I=12 - I don't know if that has anything to do with it.) How do you add a timed delay to a C++ program? I am trying to add a timed delay in a C++ program, and was wondering if anyone has any suggestions on what I can try or information I can look at?  I wish I had more details on how I am implementing this timed delay, but until I have more information on how to add a timed delay I am not sure on how I should even attempt to implement this. Yesterday, I have received two : Revival, and Self-Learner. However I was only notified of the Revival badge, because apparently the Self-Learner badge is not considered "".  What badges have their notification suppressed if the user has a 200-rep account somewhere on the Stack Exchange network, i.e. they won't trigger a new item in our achievements dialog? Flat quads (or, why is my mesh so funky?) Suppose $G$ is a group and has exactly two nontrivial proper subgroups. Prove that $G$ is cyclic and $|G|=pq$ where p,q are distinct primes or $G$ is cyclic and $|G|=p^3$ where $p$ is a prime. Usually my tactic to show a group is cyclic is find an elements such that its order and order of the group are the same. But here I cannot do so because I have no informatio regarding order of elements. So I stuck. Can anyone help me?