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
最满意答案
以运行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.
相关问答
更多-
来自远程命令行的Forcebuild CruiseControl.net(Forcebuild CruiseControl.net from remote command line)[2022-03-15]
如果你每天早上都在建设,为什么不建立一个时间表触发器呢? 基于新信息的更新:如果您的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 ... -
CruiseControl.Net + SSL(CruiseControl.Net + SSL)[2023-09-14]
以运行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 我不 ...
-
CruiseControl.NET和svn(CruiseControl.NET and svn)[2022-02-09]
除非你故意错过了你的配置文件的一部分,否则它是不完整的。 到目前为止,你所告诉的是,你有一个项目,它在源代码控制。 您需要告诉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,或者将构建的文件部署到其他位置等),你可以扩展它。 另一方面 ...