我已经访问了服务器,并希望将git repo克隆到我的根文件夹中.但是当我做git clone时,它会使我的项目名称文件夹,我的项目文件夹是我的根.我没有权限访问我的父文件夹
/var/www/sites/mysite/
Run Code Online (Sandbox Code Playgroud)
而当我做克隆文件夹结构时
/var/www/sites/mysite/mysite
Run Code Online (Sandbox Code Playgroud) 我有两列,并希望按照外观顺序堆叠不同高度的div.
div是动态创建的.
如果我只将它们漂浮在宽度的50%上,很快我会遇到div#4比传入的几个div高5倍的情况.然后下一个div与前一个div的底部对齐.
我需要在容器中使用div div来完全匹配,如下所示:
----- -------
1 2
-----
3 -------
----- 4
5
-----
6
-----
7 -------
----- 8
9
-----
10 -------
11
-------
-------
-----
Run Code Online (Sandbox Code Playgroud)
以下是我所做的代码片段:
<style>
.box {background:#20abff; color:#fff; width:50%; margin: 5px;}
.left {float:left;}
.right {float:right;}
.container {width:205px;}
</style>
<body>
<div class="container">
<div class="box left" style="height:60px;">1</div>
<div class="box left" style="height:80px;">2</div>
<div class="box left" style="height:30px;">3</div>
<div class="box left" style="height:70px;">4</div>
<div class="box left" style="height:60px;">5</div>
<div class="box left" style="height:20px;">6</div>
<div class="box left" style="height:40px;">7</div>
<div class="box left" style="height:90px;">8</div> …
Run Code Online (Sandbox Code Playgroud) 我使用CKEditor更新我网站上的CMS内容.我还使用FontAwesome,其中包括一组花哨的图标,可以这样显示
<i class="icon-envelope"></i>
Run Code Online (Sandbox Code Playgroud)
问题是CKEditor i
在客户端转义此标记,我无法在源模式下看到它.
我怎么能允许这个标签?我试过了CONFIG.removeFormatTags = ''
,但它没有帮助.
ckeditor ×1
css ×1
css3 ×1
escaping ×1
font-awesome ×1
git ×1
html ×1
html5 ×1
javascript ×1
linux ×1