如何在母版页中为TAble制作圆角 [英] How to make Rounded Corners for TAble in Master Page

查看:73
本文介绍了如何在母版页中为TAble制作圆角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ASP.Net C#,SqlServer2005.

我已经创建了一个页面宽度= 1000的网站.现在我需要为每个页面添加圆角.我需要在网站的母版页中进行设置.

我已经设置了Borderradius:20px;但没有得到.

这是我的CSS代码.

Am working on ASP.Net C#, SqlServer 2005.

I have Created a Website with Page width = 1000. NOW i need Rounded Corners for every page. I need to set in Master Page of the Website.

I have Already set Borderradius:20px; but am not getting.

This is my css code.

.table
{
border-radius:20px;
-webkit-border-radius:20px;
}



最后添加为TABLE ..... Class ="table"

但是它不起作用...请帮助我...应该在MASTER PAGE中实现.

请您建议我该怎么做.

在此先感谢.



and finally added this as in TABLE..... Class="table"

But its not working...Please help me...it should be implement in MASTER PAGE.

Please can you suggest me how to do this.

Thanks in Advance.

推荐答案


将此类用于表:
Hi,
Use this class for table:
.table
{
    border:1px solid #92b7d0;
    padding:10px 40px;
    background:#E2E8F1; /*#f6f6f6;#dddddd;a1a1a1*E2E8F1*/
    width:100%;
     border-radius:8px;
    -moz-border-radius:8px; /*Firefox 3.6 and earlier */
}




--Amit




--Amit


有一种变通方法,可以生成圆角表.可在 http://www.sitepoint.com/trick-rounded-corner-上找到示例HTML代码.表/#.T_Ex19lYqjE [^ ]
There is a work around trick to generate the rounded corner tables. Sample HTML code is available at http://www.sitepoint.com/trick-rounded-corner-tables/#.T_Ex19lYqjE[^]


看这里:
带有圆角的实用CSS3表 [所有浏览器中的CSS圆角(无图像) [
Look here:
Practical CSS3 tables with rounded corners[^]
CSS Rounded Corners In All Browsers (With No Images)[^]


这篇关于如何在母版页中为TAble制作圆角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆