Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 复制并粘贴div position absolute在td position relative内的表_Css_Html Table_Copy_Css Position_Absolute - Fatal编程技术网

Css 复制并粘贴div position absolute在td position relative内的表

Css 复制并粘贴div position absolute在td position relative内的表,css,html-table,copy,css-position,absolute,Css,Html Table,Copy,Css Position,Absolute,我希望能够将下表复制并粘贴到PowerPoint或Word中。当我选择all/copy/paste时,蓝色边框环绕的狗不会与表的其余部分一起粘贴 蓝色圆圈是使用一个位置为:绝对的div完成的,放置在一个位置为:相对的td内。我假设这与它以及div为空有关。我不知道该怎么解决这个问题 html <table> <tr class="bg-success"> <td>0</td> <t

我希望能够将下表复制并粘贴到PowerPoint或Word中。当我选择all/copy/paste时,蓝色边框环绕的狗不会与表的其余部分一起粘贴

蓝色圆圈是使用一个位置为:绝对的div完成的,放置在一个位置为:相对的td内。我假设这与它以及div为空有关。我不知道该怎么解决这个问题

html

<table>
    <tr class="bg-success">
        <td>0</td>
        <td>A</td>
        <td>B</td>
        <td>C</td>
        <td>D</td>
        <td>E</td>
    </tr>


    <tr>
        <td class="bg-success">1</td>
        <td>K</td>
        <td>G</td>
        <td>T</td>
        <td>A</td>
        <td>C</td>
    </tr>

    <tr>
        <td class="bg-success">2</td>
        <td>Y</td>
        <td>N</td>
        <td>V</td>
        <td>G</td>
        <td>C</td>
    </tr>
    <tr>
        <td class="bg-success">3</td>
        <td>H</td>
        <td style="position: relative;">
        D
        <div class="solutionX border border-primary" style="position: absolute; width: 149.1px; transform: rotate(0deg); transform-origin: 24.5px 24.5px;"></div>
        </td>
        <td>O</td>
        <td>G</td>
        <td>U</td>
    </tr>
    <tr>
        <td class="bg-success">4</td>
        <td>D</td>
        <td>W</td>
        <td>N</td>
        <td>Y</td>
        <td>S</td>
    </tr>
    <tr>
        <td class="bg-success">5</td>
        <td>G</td>
        <td>L</td>
        <td>L</td>
        <td>G</td>
        <td>U</td>
    </tr>
</table>
    table, th, tr, td {
        padding: 5px;
        font-size: 30px;
    }

    td {
        height: 50px;
        min-width: 50px;
        padding: 0;
        text-align: center;
    }

    footer {
        height: 60px;
        line-height: 60px;
        text-align: center;
    }

    .solutionX {
        border-radius: 20px;
        top: 0;
        bottom: 0;
        border-width: 3px !important;
    }