TR没有风格? [英] TR's w no Style?

查看:72
本文介绍了TR没有风格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我碰到的情况是我无法格式化我的行底部边框

颜色。


我正在使用:

< tr style =" border-bottom:solid 1px #cccccc;">


它没有用,但是


< td style =" border-bottom:solid 1px #cccccc;">





为什么会这样?


迈克

解决方案

mike写道:< blockquote class =post_quotes>我遇到了无法格式化我的行底部边框颜色的情况。


如果您通常有帮助:

1.为显示问题的页面提供URI

2.提及哪些浏览器遇到问题

我正在使用:

< tr style =" border-bottom:solid 1px #cccccc;">
<并且它没有用,但

< td style =" border-bottom:solid 1px #cccccc;">




这种不完整的测试用例是没用的。但是,由于之前我已经看过这个问题,因此Firefox 1.0.x中的一个错误已经修复了

更新的版本。这些测试用例中的任何一个都证明了这个问题吗?

http://lachy.id.au/dev/css/tests/css...t-dsp-23-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-26-d.xht
http://lachy.id。 au / dev / css / tests / css ... t-dsp-27-d.xht
http://lachy.id.au/dev/css/tests/css...t -dsp-37-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-40-d.xht
http:// lachy .id.au / dev / css / tests / css ... t-dsp-42-d.xht


-

Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ 重新发现网页
http://GetThunderbird.com/ 回收收件箱


对不起,它的IE和测试用例很简单:


< table>

< tr style =" border-bottom:solid 1px #cccccc ;">

< tr> stuff1< / tr>< tr> stuff2< / tr>< tr> stuff3< / tr>< tr> stuff4< / tr>

< / tr>

< tr style =" border-bottom:solid 1px #cccccc;">

< TR> stuff1< / TR>< TR> stuff2 < / tr>< tr> stuff3< / tr>< tr> stuff4< / tr>

< / tr>

< table>


应该是一个底部边框。


在我们的上一集中,mike< hi **** @ charter达网络>发音为

comp.infosystems。 www.authoring.html:


< snip code>

应该是一个底部边框。




否,它不应该是任何东西。尝试通过

验证器运行您的页面。你不能在桌子上筑巢。


-

Mark Parnell
http://clarkecomputers.com.au


I ran across a situation where I could not format my row bottom border
color.

I was using:

<tr style="border-bottom:solid 1px #cccccc;">

and it didn''t work, but

<td style="border-bottom:solid 1px #cccccc;">

did.

Why is that?

Mike

解决方案

mike wrote:

I ran across a situation where I could not format my row bottom border
color.
It generally helps if you:
1. Provide a URI to a page that demonstrates the issue
2. Mention which browser is experiencing the problem
I was using:

<tr style="border-bottom:solid 1px #cccccc;">

and it didn''t work, but

<td style="border-bottom:solid 1px #cccccc;">



Such incomplete test cases are useless. However, since I have seen this
problem before, it is a bug with Firefox 1.0.x that has been fixed in
more recent builds. Do any of these test cases demonstrate the issue?

http://lachy.id.au/dev/css/tests/css...t-dsp-23-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-26-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-27-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-37-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-40-d.xht
http://lachy.id.au/dev/css/tests/css...t-dsp-42-d.xht

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox


Sorry, its IE and the test case is simply:

<table>
<tr style="border-bottom:solid 1px #cccccc;">
<tr>stuff1</tr><tr>stuff2</tr><tr>stuff3</tr><tr>stuff4</tr>
</tr>
<tr style="border-bottom:solid 1px #cccccc;">
<tr>stuff1</tr><tr>stuff2</tr><tr>stuff3</tr><tr>stuff4</tr>
</tr>
<table>

should be a bottom border.


In our last episode, mike <hi****@charter.net> pronounced to
comp.infosystems.www.authoring.html:

<snip code>

should be a bottom border.



No, it shouldn''t be anything. Try running your page through the
validator. You can''t nest table rows.

--
Mark Parnell
http://clarkecomputers.com.au


这篇关于TR没有风格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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