Home > Web Front-end > HTML Tutorial > A weird question: Why can't the borders of inline frames be displayed? Asking for guidance_html/css_WEB-ITnose

A weird question: Why can't the borders of inline frames be displayed? Asking for guidance_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:16:10
Original
1950 people have browsed it

Code:







Reply to discussion (solution)

Does iframeborder have attributes? I haven’t seen it before. Can’t it be set directly with css?

I made a mistake. . The real code is like this:








I know css works. . Doesn't the iframe tag have a frameborder attribute?

Your code can be displayed. What browser are you using?

Your code can be displayed. What browser are you using? I am using 360.



The frameborder attribute specifies whether to display the border around the frame.
Tip: For practical reasons, it is best not to set this property and use CSS to apply border style and color.

w3c has said don’t use it. Why do you bother with such an abandoned attribute? Isn’t css more uniform to use?

And the code you wrote has a border. You change the value to 0. Just compare it and you will know

Alas. . . It seems to be a very awkward question~~~



This is just a bit confusing. . . hehe! Thank you all. . Posted

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template