<style type="text/css">
        .piccss
        {
           margin:8px;
           border-bottom:7px red;
           border-left:3px blue;
           border-right:4px blue;
           outline:red soild red;
        }
    </style>    
                            Image pic = new Image();
                            pic.ImageUrl = imgurl[i];
                            pic.Width = 180;
                            //  pic.Height = 200;
                            //  pic.BorderWidth = 1;
                            pic.CssClass = "piccss";
                            imagecell.Controls.Add(pic);//tablecee上添加代码这样。 但是css属性里只有margin的属性起作用了。边框的颜色宽度什么的都没变。。
为什么呢