摘要:        
方法一: line-height居中显示.vertical { line-height:200px;//这里将跟height一样 } 方法二:position定位方式 给容器设置绝对定位(position:absolute),并且定位高度(top:50%)和margin-top为高...    阅读全文
posted @ 2015-09-12 15:11
BigElephant
阅读(200)
评论(0)
推荐(0)
        
            
        
        
摘要:        
AngularJs在绑定数据时默认会以文本的形式出现在页面上,比如我现在有这样一段代码{{data}}function testCtrl($scope) { $scope.data = '标红'; }那么在页面上必然会在也面上直接显示标红要想让包含html标签的字符串,能在页面上正常显示,...    阅读全文
posted @ 2015-09-12 14:13
BigElephant
阅读(1552)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号