删除ASP .net中标记中的填充 [英] Removing Paddings in tags in ASP .net

查看:54
本文介绍了删除ASP .net中标记中的填充的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用.net 3.5框架.
在我的单个< tr>应用程序中标签我只取2< td> ;,一个用于我的位图,一个用于我的MSchart控件.
我想尽可能显示位图图像和ChartControl图表,但是由于< td>中的填充看起来很分开.

我已经进行过"align"属性和"style"属性的实验,但是对我来说不起作用.
在样式"属性中,我仅将填充设置为零".

有人可以建议我解决这个问题吗?

在表格控件中,我已经设置了:

Hello,

I am using .net 3.5 framework.
In my application in single <tr> tag I just take 2 <td>, one is for my bitmap and one is for my MSchart control.
I want to show bitmap image and chartcontrol chart as close as they can, but due to paddings in <td> it looks quite separated.

I had experiment "align" property and "style" property already, but it dosen''t work for me.
In "Style" property I just set padding as "zero".

Can anybody suggest me somthing to overcome that issue?

In the table control I have already set :

<table id="tblProjStatusInner"   runat="server" border="0" cellpadding="0" cellspacing="0">


仍然不起作用.

谢谢&问候
Yogesh.
:(


Still it doesn''t work.

Thanks & Regards
Yogesh .
:(

推荐答案

您确定该填充不在位图或图表中吗?或者您是否有其他一些CSS样式将填充添加到td中.样式表?您所进行的设置意味着单元格之间不应有填充或间距,因此它必须来自其他位置.您可以尝试裁剪图像或查看是否有可应用于图表的格式,以便减少利润.

您还可以尝试设置负填充/边距,尽管这仍然意味着其他问题.
Are you sure that the padding isn''t in the bitmap or chart? Or that you have some other css styles that add padding to td in a style sheet? The settings you have mean that there should be no padding or spacing between cells so it must be coming from somewhere else. You could try cropping the image or seeing if there is formatting that can be applied to the chart such that you could reduce margins.

You could also try to set negative padding/margins though that still means something else is wrong.


这篇关于删除ASP .net中标记中的填充的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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