CMS DataLife Engine - Система управления сайтами

Sign in to follow this  
flybug

Цвет HTML таблицы

Recommended Posts

Вот к примеру такая таблица

<table style="border-collapse:collapse;width:100%;"><tbody><tr><td>Столб<br></td><td>Столб<br></td><td>Столб<br></td></tr><tr><td>1<br></td><td>8<br></td><td>15<br></td></tr><tr><td>2<br></td><td>9<br></td><td>16<br></td></tr><tr><td>3<br></td><td>10<br></td><td>17<br></td></tr><tr><td>4<br></td><td>11<br></td><td>18<br></td></tr><tr><td>5<br></td><td>12<br></td><td>19<br></td></tr><tr><td>6<br></td><td>13<br></td><td>20<br></td></tr><tr><td>7<br></td><td>14<br></td><td>21<br></td></tr></tbody></table>

В html я не силён… у этой таблицы края прозрачные, а как сделать их цветом например #000000 ?

Share this post


Link to post
Share on other sites

<table style="border-collapse: collapse; width: 100%; border: 1px solid white;">
<tr>
<td>Столб</td>
<td>Столб</td>
<td>Столб</td>
</tr>

<tr>
<td>1</td>
<td>8</td>
<td>15</td>
</tr>

<tr>
<td>2</td>
<td>9</td>
<td>16</td>
</tr>

<tr>
<td>3</td>
<td>10</td>
<td>17</td>
</tr>

<tr>
<td>4</td>
<td>11</td>
<td>18</td>
</tr>

<tr>
<td>5</td>
<td>12</td>
<td>19</td>
</tr>

<tr>
<td>6</td>
<td>13</td>
<td>20</td>
</tr>

<tr>
<td>7</td>
<td>14</td>
<td>21</td>
</tr>
</table>
[/html]

Edited by WWW.ZEOS.IN

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this