首页 \ 问答 \ div下面的Bootstrap div(Bootstrap div below div)

div下面的Bootstrap div(Bootstrap div below div)

我有一个包含3个单元格的div,我想在它下面放置另一个div。 但由于某种原因,它出现在包装div之上。 我尝试了一些我在stackoverflow上找到的东西,但它似乎不起作用。 这是应该工作的解决方案之一:

HTML:

<div class="col-sm-5 col-sm-offset-3" id="wrapper">
    <div class="row">
       <div class="col-sm-1 col-sm-offset-2" id="col1"> col1 </div>
       <div class="col-sm-1 col-sm-offset-2 " id="col2"> col2 </div>
       <div class="col-sm-1 col-sm-offset-2" id="col3"> col3 </div>
   </div>
</div>

<div id="below">
This should be below the wrapper div
</div>

CSS:

#col1{
    background-color: lime;
    border: solid 1px;
    text-align: center;
}
#col2{

    background-color:  aqua;
    border: solid 1px;
    text-align: center;
}
#col3{
    background-color:  lightpink;
    border: solid 1px;
    text-align: center;
}
#wrapper{
    border: solid 1px;
    height: 100%;
    top: 100px;


}
#below{
    border: solid 2px;
    text-align: center;
    min-height: 100%;
    min-width: 100%;   
    clear: both;

}

I have a div containing 3 cells, and I want to place another div below it. But for some reason it appears above the wrapper div. I tried some things I found on stackoverflow, but it doesn't seem to work. Here is one of the solutions which was supposed to work:

HTML:

<div class="col-sm-5 col-sm-offset-3" id="wrapper">
    <div class="row">
       <div class="col-sm-1 col-sm-offset-2" id="col1"> col1 </div>
       <div class="col-sm-1 col-sm-offset-2 " id="col2"> col2 </div>
       <div class="col-sm-1 col-sm-offset-2" id="col3"> col3 </div>
   </div>
</div>

<div id="below">
This should be below the wrapper div
</div>

CSS:

#col1{
    background-color: lime;
    border: solid 1px;
    text-align: center;
}
#col2{

    background-color:  aqua;
    border: solid 1px;
    text-align: center;
}
#col3{
    background-color:  lightpink;
    border: solid 1px;
    text-align: center;
}
#wrapper{
    border: solid 1px;
    height: 100%;
    top: 100px;


}
#below{
    border: solid 2px;
    text-align: center;
    min-height: 100%;
    min-width: 100%;   
    clear: both;

}

原文:https://stackoverflow.com/questions/38336925
更新时间:2022-11-18 18:11

最满意答案

以运行CCNET服务的用户身份运行certmgr.msc。 然后,将您的SSL证书添加到那里的“个人”文件中。 然后证书将被信任。

但听起来你也发错了主机名。 因此,要解决此问题,请检查您的证书并查看您为其分配的主机名。 我的猜测是你将它分配给“localhost”,你的网络名称是指你的CCNET服务器,反之亦然。 您应该确保CCNet的任何URL与证书上的主机名匹配。 因此,您需要更改您在CCNET中连接的计算机名称,否则您将需要重新颁发证书。


Run certmgr.msc as the user who your CCNET service is running under. Then, add your SSL cert to the "Personal" cerfiticates in there. The cert will then be trusted.

But it sounds like you also issued the cert to the wrong hostname. So, to fix that, examine your certificate and see what hostname you assigned it for. My guess is that you assigned it to "localhost" and you're referring to your CCNET server by its network name, or vice-versa. You should make sure that whatever URL CCNet is going to matches the hostname on your certificate. So you will either need to change the machine name you're connecting to in CCNET, or you will have to re-issue your certificate.

相关问答

更多
  • 如果你每天早上都在建设,为什么不建立一个时间表触发器呢? 基于新信息的更新:如果您的Power Shell脚本可以修改为修改内部可访问的网页(更新HTML中的时间戳文本),那么您可以使用urlTrigger If you're building every morning, why not set up a schedule trigger instead? UPDATE BASED ON NEW INFORMATION: If your Power Shell script can be modified ...
  • 这是可能的:使用多源控制块: svn://foo c:\dev\foo svn://bar ...
  • 以运行CCNET服务的用户身份运行certmgr.msc。 然后,将您的SSL证书添加到那里的“个人”文件中。 然后证书将被信任。 但听起来你也发错了主机名。 因此,要解决此问题,请检查您的证书并查看您为其分配的主机名。 我的猜测是你将它分配给“localhost”,你的网络名称是指你的CCNET服务器,反之亦然。 您应该确保CCNet的任何URL与证书上的主机名匹配。 因此,您需要更改您在CCNET中连接的计算机名称,否则您将需要重新颁发证书。 Run certmgr.msc as the user wh ...
  • 您可能需要文件系统控制块 。 You probably want File system control block.
  • 如果我是你,我会写自己的插件。 您将在CC.NET存储库中的project / core / sourcecontrol下找到当前实现的源代码控件。 你需要一些东西。 一个是主类,它将继承自ProcessSourceControl并且应该基于当前的源控件提供程序。 这个初始类将实现GetModifications,LabelSourceControl和GetSource之类的东西。 然后,您将需要一些辅助类,它们是historyparser类和urlbuilder类。 这些特定于每个源控件提供程序,并负责解 ...
  • 只有你想使用Nant才需要Nant。 :) 您可以使用cc.net构建基于msbuild / solution的构建。 Nant is only required if you want to use Nant. :) You can use cc.net to build msbuild/solution based builds.
  • http://msdn.microsoft.com/en-us/library/hh162058.aspx MSBuild 12.0有什么新功能? MSBuild现在作为Visual Studio的一部分安装,而不是作为.NET Framework的一部分安装。 当前的MSBuild版本号为12.0。 如果要单独安装MSBuild,请从MSBuild Download下载安装包。 http://www.microsoft.com/en-us/download/details.aspx?id=40760 我不 ...
  • 除非你故意错过了你的配置文件的一部分,否则它是不完整的。 到目前为止,你所告诉的是,你有一个项目,它在源代码控制。 您需要告诉cc.net与它做什么,如何构建它以及何时构建它。 您需要添加一些您在构建时实际想要发生的任务,然后您需要为这些任务添加一些触发器。 (对不起,如果你已经做了这些东西,只是没有把问题包括在内) the problem is trigger element, in the version prior to 1.4.3 default (if no trigger) was that i ...
  • 在充分利用CruiseControl之前,您需要创建一个可由msbuild或nant运行的自动构建脚本。 在一步完成项目构建之后,您就可以开始将CruiseControl集成到混合中。 以下是一些帮助您入门的资源: CruiseControl.net Wiki - 一个非常好的资源。 CruiseControl.net SourceControl Block - 显示如何将svn与CruiseControl.net一起使用sourcecontrol块 获取CruiseControl.net,MsBuild和 ...
  • 如果您计划迁移到VS2010,则可以使用TFS 2010的持续集成功能。我假设您拥有TFS 2010 .. CI是其内置功能之一。 当您创建新构建时,“向导”中的一个选项卡专门用于设置何时运行构建,并且您可以将其设置为每次签入某些内容时运行(这是CI构建),或者您可以将其设置为保存更改并且不会比指定的时间段更频繁地运行。 您不需要CC.Net或NAnt。 TFS实际上会自动创建一个MSBuild文件,如果你想用你的构建做额外的事情(比如构建MSI,或者将构建的文件部署到其他位置等),你可以扩展它。 另一方面 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)