Jump to content
  • 0

помогите исправить ошибку в таблице


Юрий
 Share

Question

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title></title>
</head>

<body>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="1" bordercolor="#000000">
<tr>
<td rowspan=2 width=250px>
текст
</td>

<td>Текст</td>
<td width=5px>5</td>
</tr>

<tr>
<td colspan=2>
текст нижней ячейки
</td>
</tr>
</table>
</body>

</html>

В FF вс? работает как надо, но в IE правая колонка становится не 5px когда в не? пишешь текст. Подскажите как исправить?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Вот так вроде работает:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title></title>
</head>

<body>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="1" bordercolor="#000000">
<tr>
<td rowspan=2 width=250px>

<table width="250">
<tr>
<td></td>
</tr>
</table>
текст
</td>

<td width="100%">Текст</td>
<td width=5px>5</td>
</tr>

<tr>
<td colspan=2>
текст нижней ячейки
</td>
</tr>
</table>
</bo

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 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