<table width="100" border="1" cellpadding="0" cellspacing="0">
  <tr>
    <td width="118" rowspan="2" valign="top"><p>Grupės pavadinimas</p></td>
    <td colspan="5" valign="top"><p>Maitinimo i&scaron;laidos Lt (už 1vaiko lankytą, nelankytą ir nepateisintą dieną) </p></td>
    <td width="104" valign="top"><p>Kitos i&scaron;laidos per mėnesį (i&scaron;laidos darbo užmokesčiui ir    įmokoms soc.draudimui, kt. prekėms ir paslaugoms)</p></td>
  </tr>
  <tr>
    <td width="111" valign="top"><p>Pusryčiai</p></td>
    <td width="67" valign="top"><p>Pietūs</p></td>
    <td width="138" valign="top"><p>Pavakariai</p></td>
    <td width="83" valign="top"><p>Vakarienė</p></td>
    <td width="89" valign="top"><p>I&scaron;&nbsp;    viso:</p></td>
    <td width="104" valign="top"><p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="118" valign="top"><p>Lop&scaron;elio grupės vaikams</p></td>
    <td width="111" valign="top"><p>&nbsp;</p>
      <p>1,43</p></td>
    <td width="67" valign="top"><p>&nbsp;</p>
      <p>2,14</p></td>
    <td width="138" valign="top"><p>&nbsp;</p>
      <p>1,19</p></td>
    <td width="83" valign="top"><p>&nbsp;</p></td>
    <td width="89" valign="top"><p>&nbsp;</p>
      <p>4,76</p></td>
    <td width="104" valign="top"><p>&nbsp;</p>
      <p>25,00</p></td>
  </tr>
  <tr>
    <td width="118" valign="top"><p>Darželio grupės vaikams</p></td>
    <td width="111" valign="top"><p>&nbsp;</p>
      <p>1,60</p></td>
    <td width="67" valign="top"><p>&nbsp;</p>
      <p>2,41</p></td>
    <td width="138" valign="top"><p>&nbsp;</p>
      <p>1,34</p></td>
    <td width="83" valign="top"><p>&nbsp;</p></td>
    <td width="89" valign="top"><p>&nbsp;</p>
      <p>5,35</p></td>
    <td width="104" valign="top"><p>&nbsp;</p>
      <p>25,00</p></td>
  </tr>
  <tr>
    <td width="118" valign="top"><p>Prie&scaron;mokyklinės grupės vaikams</p></td>
    <td width="111" valign="top"><p>&nbsp;</p>
      <p>1,87</p></td>
    <td width="67" valign="top"><p>&nbsp;</p>
      <p>2,61</p></td>
    <td width="138" valign="top"><p>&nbsp;</p>
      <p>1,13</p></td>
    <td width="83" valign="top"><p>&nbsp;</p></td>
    <td width="89" valign="top"><p>&nbsp;</p>
      <p>7,48</p></td>
    <td width="104" valign="top"><p>&nbsp;</p>
      <p>25,00</p></td>
  </tr>
</table>

I converted a table from word with dreamviewer, in dreamviewet looks ok, but when I put it in web page it is too wide. Don't know how to make it narrow. Tried using width 100%, didn't help.

And another table in word is similar width and looks ok on webpage. Can you help me?

I atached the screenshot and the actual word document if you need it.

yeah, the copy looks ok, like it looked in dreamviewer. But in wesite it is a lot wider.

/* start - table */
table {
	border-collapse: collapse;
	margin: 15px 10px;	
}
th {
	background: #ADD8E6 url(header-bg.jpg) repeat-x 0 -100px;
	height: 38px;
	padding-left: 12px;
	padding-right: 12px;
	color: #fff;
	text-align: left;
	border-left: 1px solid #78C7FA;
	border-bottom: solid 2px #fff;
}
tr {
	height: 34px;
	background: #fff;
}
td {
	padding-left: 11px;
	padding-right: 11px;
	border: 1px solid #EDEDED;	
}	
/* end - table */

here is the code for tables in css in case it is needed to understand why it looks so wide.

But your frontpage edition is perfect, it uses the width as I want, thanks :)

You should really do that with CSS...
Example:

<table style="width: 100px;">

Hope this helps... Got a question?

You should really do that with CSS...
Example:

<table style="width: 100px;">

Hope this helps... Got a question?

I didn't try it as the problem is solved now, but thanks for reply :) Btw it is actually hard for person who is not a computer specialist, I have a TinyMCE text editor in that site and the table is copied from MS Word. Such people don't even know what css is. They just know how to work with text editors like MS Word.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.