CSS框架边框 [英] CSS Frameset Borders

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

问题描述

你好,


我正在尝试让一些现有的网页符合

W3C的HTML 4.01推荐标准('''严格''尽可能'''松散''

不是 - 即使用框架集,因此,

<>的''目标''属性。 a>标签......)


到目前为止,我没有成功找到<<<&bbsp;框架>标签。


< frameset border =" 0" ....>

< frame frameborder =" 0" ...> ;


生成没有边框的框架,但是W3C的验证器说没有

属性''border''。


尝试使用CSS代替,以下似乎没有效果:


frameset

{

border-width:0px; -AND / OR-

border-style:none; -AND / OR-

border-style:hidden; -AND / OR-

边界崩溃:崩溃; - 无论这意味着什么 -

}


但是所有人都留下了一个狭窄的两像素或三像素(ish)边框,可以

只能被描述为顽强。


有谁知道如何实现相当于< frameset border =" 0" ...>

使用CSS生成符合W3C标准的东西?


如果它有任何区别,我正在查看我使用IE6的尝试。


谢谢。

A.

Hello,

I am in the process of trying to make some existing web pages comply with
W3C''s HTML 4.01 Recommendation (''strict'' where possible, ''loose'' where
not -- i.e. when using framesets and, hence, the ''target'' attribute of the
<a> tag...)

I have so far been unsuccessful in finding a compliant equivalent of the
''border'' attribute of the <frameset> tag.

<frameset border="0"....>
<frame frameborder="0"...>

produces frames without borders, but W3C''s validator says that there is no
attribute ''border''.

Attempting to use CSS instead, the following seem to have no effect:

frameset
{
border-width: 0px; -AND/OR-
border-style: none; -AND/OR-
border-style: hidden; -AND/OR-
border-collapse: collapse; -whatever THAT means-
}

but all leave me with a narrow two- or three-pixel (ish) border that can
only be described as tenacious.

Does anyone know how to achieve the equivalent of <frameset border="0"...>
using CSS to produce something W3C compliant?

If it makes any difference, I''m viewing my attempts using IE6.

Thank you.
A.

推荐答案

" Andrew C." <再************** @ andrewcornes.com.remove>在消息中写道

news:28 ****************************** @ news.teranew s。 com ...
"Andrew C." <re**************@andrewcornes.com.remove> wrote in message
news:28******************************@news.teranew s.com...
您好,

我正在尝试使一些现有的网页符合W3C的HTML 4.01推荐标准(' '严格''尽可能'''松散''
不是 - 即使用框架集,因此,
< a>标签的''target''属性...)

到目前为止,我没有成功找到< frameset>的
''border''属性的兼容等价物。标签。

< frameset border =" 0" ....>
< frame frameborder =" 0" ...>
生成没有边框的框架,但是W3C的验证器说没有
属性''border''。
Hello,

I am in the process of trying to make some existing web pages comply with
W3C''s HTML 4.01 Recommendation (''strict'' where possible, ''loose'' where
not -- i.e. when using framesets and, hence, the ''target'' attribute of the
<a> tag...)

I have so far been unsuccessful in finding a compliant equivalent of the
''border'' attribute of the <frameset> tag.

<frameset border="0"....>
<frame frameborder="0"...>

produces frames without borders, but W3C''s validator says that there is no
attribute ''border''.




< frameset>

< frame frameborder =" 0">

< / frameset>


应该这样做。此外,您可能希望验证包含带有Frameset DTD的框架集的页面




问候,

Peter Foti



<frameset>
<frame frameborder="0">
</frameset>

That should do it. Also, you''ll probably want to be validating the page
that contains the frameset with the Frameset DTD.

Regards,
Peter Foti


Andrew C.写道:
Andrew C. wrote:
你好,

我在尝试制作一些现有网页的过程符合W3C的HTML 4.01建议书('严格''尽可能'''松散'',其中
不是 - 即使用框架集时,因此,
< a>标签的''target''属性......)

我到目前为止找不到相应的
' < frameset>的'border''属性标签。

< frameset border =" 0" ....>
< frame frameborder =" 0" ...>
生成没有边框的框架,但是W3C的验证器说没有
属性''border''。

尝试使用CSS,以下似乎没有效果:

框架集
{
border-width:0px; -AND / OR-
border-style:none; -AND / OR-
border-style:hidden; -AND / OR-
边界崩溃:崩溃; - 这意味着什么 -
}

但是所有人都留下了一个狭窄的两像素或三像素(ish)边框,只能被描述为顽强的。

是否有人知道如何使用CSS实现等效的< frameset border =" 0" ...>
以生成符合W3C标准的内容?

如果是没有任何区别,我正在查看我使用IE6的尝试。
Hello,

I am in the process of trying to make some existing web pages comply with
W3C''s HTML 4.01 Recommendation (''strict'' where possible, ''loose'' where
not -- i.e. when using framesets and, hence, the ''target'' attribute of the
<a> tag...)

I have so far been unsuccessful in finding a compliant equivalent of the
''border'' attribute of the <frameset> tag.

<frameset border="0"....>
<frame frameborder="0"...>

produces frames without borders, but W3C''s validator says that there is no
attribute ''border''.

Attempting to use CSS instead, the following seem to have no effect:

frameset
{
border-width: 0px; -AND/OR-
border-style: none; -AND/OR-
border-style: hidden; -AND/OR-
border-collapse: collapse; -whatever THAT means-
}

but all leave me with a narrow two- or three-pixel (ish) border that can
only be described as tenacious.

Does anyone know how to achieve the equivalent of <frameset border="0"...>
using CSS to produce something W3C compliant?

If it makes any difference, I''m viewing my attempts using IE6.




框架集没有属性边框,但你不会
$ b当使用frameborder =" 0"时,$ b需要它在框架上,而不是

框架集。

您仍然看到的白色边框是

框架间距,可以将其设置为0。并且应该对框架集应用

,但不幸的是在4.01下无效: - (


-

Els


Sonhos vem.Sonhos v?o.orestoébritfeito。

- Renato Russo -



There is no attribute border for frameset, but you won''t
need it when using frameborder="0" on the frames, not the
frameset.
The white ''borders'' you''re still seeing, is the
framespacing, which can be set to "0" and should be applied
to the framesets, but unfortunately isn''t valid under 4.01 :-(

--
Els

Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -


< frameset>
< frame frameborder =" 0">
< / frameset>
那应该这样做。另外,你可能想要验证包含带有Frameset DTD的框架集的页面。
<frameset>
<frame frameborder="0">
</frameset>

That should do it. Also, you''ll probably want to be validating the page
that contains the frameset with the Frameset DTD.




不幸的是,这不起作用 - 我仍然在< frameset>标签中得到两个或三个像素

边框而没有''border = 0''。


A.



Unfortunately, this doesn''t work -- I still get that two- or three-pixel
border without a ''border=0'' in the <frameset> tag.

A.


这篇关于CSS框架边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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