Jump to content
  • 0

проблема с таблицей


ikutin
 Share

Question

у меня таблица уехала вниз, как исправить?

<html>

<head>

<style>

div {

height: 800px;

border: 4px solid #000;

background: url(????????1.jpg) 100% 100% no-repeat;

background-size: cover;

}

table {

background: url(???????.jpg) no-repeat

}

a {

text-decoration: none;

}

.layer2 {

height: 500px;

width: 200px;

overflow: scroll;

background: #fc0;

padding: 7px;

border: 1px solid #333;

}

</style>

<title>

????????

</title>

</head>

<body>

<div>

<p><h2 style="color:#0000FF" ; align="center" >

???? ???????? ??? "????????"</h2></p>

<center>

<pre class="layer2">

ЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛЯЛ

</pre>

</center>

<table border="2px" height="284px" width="220px" cols="1" ">

<tr >

<td><a href="????2.html" ><p style="color: red" > ???????? ???????????</p></a></td>

</tr>

<tr >

<td><a href="http://"????3.html>????????????????</a></td>

</tr>

<tr >

<td><a href="http://"????4.html>???????</a></td>

</tr>

<tr >

<td>kzkytz</td>

</tr>

</table>

</div>

</body>

</html>

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Для начала оформите код в надлежащим виде (смените кодировку текста), чтобы пользователи могли легко его читать.

По теме:

Попробуйте в css для таблицы прописать "align: top;".

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   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.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy