.info-bg-section {   background: transparent url(../images/img.jpg) repeat fixed 0 0/cover;   position: relative; }  .info-section-colored {   background-color: #3F3FB5;   padding: 100px 40px; } &lt;div class="info-bg-section dark-bg"&gt;   &lt;div class="container-fluid"&gt;     &lt;div class="row"&gt;       &lt;div class="col-md-4 info-section-colored"&gt;         &lt;p&gt;Content 1&lt;/p&gt;         &lt;p&gt;Content 1&lt;/p&gt;         &lt;p&gt;Content 1&lt;/p&gt;         &lt;p&gt;Content 1&lt;/p&gt;         &lt;p&gt;Content 1&lt;/p&gt;       &lt;/div&gt;       &lt;div class="col-md-8"&gt;         &lt;p&gt;Content 2 &lt;/p&gt;       &lt;/div&gt;     &lt;/div&gt;   &lt;/div&gt; &lt;/div&gt;     I want to add padding to this section (info-bg-section). Also I want to align  vertically content in divs.  I tried to add padding to divs but it seems it isn't good idea
I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers? &lt;div id=&quot;header&quot;&gt;   &lt;img src=&quot;..&quot; &gt;&lt;/img&gt;   &lt;h1&gt;testing...&lt;/h1&gt;   &lt;img src=&quot;...&quot;&gt;&lt;/img&gt; &lt;/div&gt;
Are there constants in JavaScript? Is there a way to use constants in JavaScript?  If not, what's the common practice for specifying variables that are used as constants? We all know that in an idealised world all objects accelerate at the same rate when dropped regardless of their mass.  We also know that in reality (or more accurately, in air) a lead feather falls much faster than a duck's feather with exactly the same dimensions/structure etc.  A loose explanation is that the increased mass of the lead feather somehow defeats the air resistance more effectively than the duck's feather.  Is there a more formal mathematical explanation for why one falls faster than the other? I have just updated Windows 7 to Windows 10.  My touchpad scolling (right-side) is not working anymore.    I have no idea how to fix this in Windows 10.  I have hit the start button and typed "synaptic", but have found nothing useful.  I used to have an icon on the taskbar that showed where I was touching the touchpad.  I used to be able to right-click that icon to change settings, but Windows 10 has not brought that icon over.  Also, the asus website has no synaptic touchpad drivers available for Windows 10.  I have tried the enaltech drivers, but upon the installation atempt I am told that my hardware is not correct. Tag hierarchy to browse through tags Possible Duplicate:          Since so many thousands of tags and topics exist, it would be really useful to visually browse through tags by organizing them into a , or hierarchical map. This drill-down map would make it easier to find the tag/subtopic you want or just generally browse within the topics you're interested in.  So we could nest all "visual-studio-2008" and "visual-studio-2003" tags into "visual-studio", which would be under "dev-tools". Something like how Wikipedia's categories have sub-categories. Is Switching the Neutral OK? What’s the worst that can happen if i put a switch in the neutral instead of the phase?   I just found out that 3 light bulbs sockets in my home  are connected this way, it first came to my mind to fix it but then I recalled the flow of current from positive to negative is just a convention since the electrons are charged negatively and they actually flow from N to L so i cant really find an solid excuse to mess with the wiring for the next 2 hrs All the info about TLP on the surface looks more like advertisement and marketing to me, I can't see any detailed comparison to default configurations. What are the precise differences compared to default (K/L)Ubuntu installs under the hood, are they really effective?  Update: And if they really are, why aren't they a part of a default config? The new top bar is out on meta. Consider it a beta EDIT Dec 4 -  We're doing it live! Please post bugs or concerns as questions tagged [top-bar]  We have rolled out our 95% completed top bar for feedback.  Note:   We are still adding a few final features, so if you have a request for a feature that is not there you might hold off on that for a day or two Yes, the bar is black1. Also give that a day or two to sink in.   I also want to specifically address the meta/main/chat links.  I'm very aware that many of you like having the links at the top of the page and that this new version is different.  The thought process behind moving these links is that the "site switcher" should be an automatic place to go when you are on a site and want to go to another one. If you haven't already developed the muscle memory for these links, getting between them required a bit of a cognitive load: You must first decide that you want to switch sites and then you have to decide which area to go to to switch.  Also, we find that less familiar users aren't entirely clear what a standalone link that says "main" or "meta" actually does... Not to mention that it hurts my UX sensibilities that we are dynamically changing links in an element that should be fixed.  It is true that we have added a click in the process, but we have also removed a lot of clicks for other common actions that are much more frequent than switching between main and meta.  All I ask is that you give it a few days and see if the new "switch sites at the top left" paradigm grows on you.  What do you think?  1.  points out that technically it's not quite black. We have a system hosting many websites for our customers, and inside that system there is a method that non-live customers can view their sites before we turn them on.  Say the link is something like this: ourbigcompany.com/customer/domain=thisisanewsiteurl  Those links are not linked to anywhere outside a secure login - they are only sent to the customer via email. They are publicly viewable, as they have to be, but that's not the real problem.  The real problem is that somehow Bing is getting hold of them and trying to crawl the sites.   I know how to stop the crawling, but that would be like treating the symptoms without fixing the problem.  We log the traffic and there is no referrer - so that is not helpful.  If I change the querystring value for a site, Bing has it within hours. I need to figure out where Bing is getting the links from so that I can close what is obviously a security hole, but I am not sure how.   Any ideas on how to figure that out? I'm making a mini game (bomb squad) and the armor needs to be enchanted. I know that armor can be enchanted through command blocks and that is what I intend to do. I am wondering if it is possible to enchant armor twice in one command block or should I need multiple command blocks as I have done in the past? Correlations with unordered categorical variables Negative energy levels in the diagram for a hydrogen atom what is the C++/CLI syntax to subscribe for events? I'm updating some old Managed C++ code with lines like this:  instanceOfEventSource-&gt;add_OnMyEvent(      new EventSource::MyEventHandlerDelegate(this, MyEventHandlerMethod) );   where   EventSource is the class that publishes events instanceOfEventSource is an instance of that class EventSource::MyEventHandlerDelegate is the delegate type for the event MyEventHandlerMethod is a (non-static) method within the current class (of which "this" is an instance) with the signature matching EventSource::MyEventHandlerDelegate   What is the right syntax for this in C++/CLI? Is there a word for “not greedy”? The antonym of “greedy” is “generous”. Is there a word for “not greedy” (one who is content with what he has)? How do I make a Lightning Bow in vanilla Minecraft? I'm trying to make a setup with command blocks that summons lightning at the location of a shot arrow. The setup should recognize the arrow that is shot or the bow that is used by its name or another property, so that lightning only strikes at that specific arrow.   Also, the lightning should only strike once when the arrow hits the ground. I know this is somehow possible with scoreboard, but I'm no good with that. Does anyone know how to make a Lightning Bow in vanilla Minecraft? How well will WCF scale to a large number of client users? Does anyone have any experience with how well web services build with Microsoft's WCF will scale to a large number of users?  The level I'm thinking of is in the region of 1000+ client users connecting to a collection of WCF services providing the business logic for our application, and these talking to a database - similar to a traditional 3-tier architecture.   Are there any particular gotchas that have slowed down performance, or any design lessons learnt that have enabled this level of scalability? Parsing JSON from URL I got some new hard discs and would like to set my PC up in the following way:   Ubuntu is currently installed on one drive I want to put Windows on a second drive I would like a third drive for shared content (music and stuff) that both OSes can access     What I need to know is what format should the content drive be?  How should I configure the drive order in my bios for GRUB to be boot manager and how to configure GRUB for multi-HDD booting? This is actually a two part question:   Which methods are there to calculate average slope by unit (say km²) for a given area? Are there any special requirements on the data - like additional information besides height measurements? Which open source GIS implement methods usable to calculate average slope on a grid (e.g. TIF file)? How do I start DMing a new game after the Red Box? Given a function:  function x(arg) { return 30; }   You can call it two ways:  result = x(4); result = new x(4);   The first returns 30, the second returns an object.  How can you detect which way the function was called inside the function itself?  Whatever your solution is, it must work with the following invocation as well:  var Z = new x();  Z.lolol = x;  Z.lolol();   All the solutions currently think the Z.lolol() is calling it as a constructor.