Jump to content
  • 0

Как сделать таблицу с закругл?нными концами?


CRANK
 Share

Question

Хочу сделать таблицу с закругл?нными концами. Но у меня получается отступ. Как его убрать? Вот код.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
#content {
padding: 0px;
}
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10" width="10"><img src="images/01.gif" width="10" height="10"></td>
<td></td>
<td height="10" width="10"><img src="images/02.gif" width="10" height="10"></td>
</tr>
<tr>
<td></td>
<td id="content">
<table border="0" cellspacing="0" cellpadding="8" width="100%" bgColor="#ffff00">
<tr>
<td width="100%" bgColor="#009900">заголовок
</td>
</tr>
<tr>
<td width="100%">текст
</td>
</tr>
</table>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

1) не советую ставить просто

2) поставьте у всех

параметр width и height(где необходимо 100%).

3) попробуйте заменить

на   с указанием width и height так же.

4)

01.gif"

02.gif"

вот этот блок может быть лучше сделать отдельной таблицей?

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