Jump to content
  • 0

Ошибка в IE при верстке картинками


Tigrish
 Share

Question

Помогите, пожалуйста, устранить баг. В IE над картинками menu_top и content_top появляеться полоса фона. Никак не могу прижать картинки к верхнему краю. В Firefox и Opera все работает отлично.

Вот код:

<!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">

<head>
</head>

<body>

<table width="720" border="0" cellpadding="0" cellspacing="0">
<col width="195" valign="top">
<col width="525" valign="top">
<tr>
<td style="background: #aff7fa" valign="top">
<img src="images/menu_top.jpg" style="position: relative; top: 0px; border: 0px;" width="195" height="13" alt="">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
</td>
<td style="background: #ffffff" valign="top">
<img src="images/content_top.jpg" style="margin: 0px; border: 0px;" width="525" height="13" alt="">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
</td>
</tr>
<tr>
<td>
<img src="images/menu_bot.jpg" border="0" width="195" height="5" alt="">
</td>
<td>
<img src="images/content_bot.jpg" border="0" width="525" height="5" alt="">
</td>
</tr>
</table>

</body>
</html>

Как можно решить эту проблему?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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