CSS equivalent frame = "box"

I am currently making an HTML5 block and I cannot find the CSS equivalent for HTML 4, which is now deprecated table frame="box" to get a frame around the table, at all four corners Does anyone know what the equivalent is?

+3
source share
2 answers

I believe that border- this is what you are looking for.

table {
    border: 1px solid black;
}
+3
source

There is no direct equivalent. The HTML 4.01 specification defines frame="box"just so that the frame around the table is visible from all sides. It does not indicate the style, color or width of the frame or even says that the frame matches the border in the sense of CSS.

Rendering HTML5 CR frame="box" CSS. , ""

border-color: black;
border-style: outset;

table. border-width, , , 2px .

. Chrome border-style: solid; border-width: thin thin 1px. ( gray table.) Firefox border-style: outset, gray thin, 1px. IE 1px; IE 8 ( inset ).

CSS, CSS. , , , , table, , frame="box".

frame HTML 4.01. HTML5 "" . , frame, ""; , , , .

+1

All Articles