If frameborder is obsolete, why does youtube still use it?
You would have to ask YouTube why they have not replaced frameborder with a CSS equivalent.
I read putting [border 0;] in style is the replacement for that.
Yes, it is.
(don’t forget the colon)
it’s there.
you mean, semicolon
No, I meant the colon between the word “border” and the zero.
style="border: 0;
"
If you already have a border, [border: 5px solid #5CB378;] adding an additional border: 0; would probably have no effect, right?
It depends on where those border assignments fall in CSS. The C stands for Cascading so assuming the same specificity the last border assignment is the one that is applied. In inline styles, the properties are read from left to right. The rightmost would win.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.