constraining text within a table/ td cell

tsoab

New Member
I’m having problems editing a template using fireworks and dreamweaver.
Here's the issue:
I have a situation whereby I have nested tables, the inner table I would like to paste a selection of text within.
The problem I'm having is that when I paste the text within the table, the table expands forcing images outwards surrounding it destroying the design of the template.
I have set the width/height of the table, but when the text data is pasted within the td cell expands consequently having a ripple effect.
Is there a css means of controlling this, so the table will remain unchanged in width/height no matter what amount of text is pasted within?
Then I can adjust the text size to accommodate it within the table.
Hope this makes sense.
What would also be ok, is to have some type of scrolling table, I know this is possible with a layer in dreamweaver, but the problem using a scrolling layer is the layer remains in position when the browser is being resized, rather than moving in unison within the table.

Appreciate any help.
regards
Steve
 

Artoonie

New Member
Try a div overflow:
HTML:
<div style="overflow: auto; width: 100px; height: 200px;">
If there is horizontal scroll, i think overflow-x:hidden should work.
 
Top