Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table cell size gets thrown out when adding a form /text

Status
Not open for further replies.

butifaro

Programmer
Dec 22, 2004
8
0
0
GB
Hi there

I am using adobe imageready to creat slices for a web page in dreamweaver8.
When in dreamweaver it all looks great until adding a part of a form to a cell. The cell changes size and it throws the whole size of the other cells out.

what is happening and how can i keep the cells the size i have created them in the first place?
I have made sure that the text etc does fit in the size of the cell

cna anyone help?

thanks
janine
 
Maybe try setting the overflow value on the cells that you're having problems with. If you know that the text fits then this shouldn't be a problem.

Code:
<body>
<head>
<style type="text/css">
td {
   width:20px;
   [!]overflow:hidden;[/!]
}
</style>
</head>
<body>
<table>
   <tr>
      <td>blahblahblahblahblahblahblah</td>
      <td>this is a test</td>
   </tr>
   <tr>
      <td>to ensure that the overflow</td>
      <td>works just fine</td>
   </tr>
</table>
</body>
</html>

-kaht

[small] <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
[banghead] [small](He's back)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top