Keeping cell width fixed in Dreamweaver when inserting text

How do i keep a cell width fixed so that overflowing or wrapping text stays within the cell making the height higher in Dreamweaver?
sugarleeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineNo oneCommented:
Hi suagrlee,

Table cells are hard to constrain.  If the element has no breaks (like a long word or URL), it will force the cell wider than the declared width.

The only thing you can do is use the CSS overflow property to "hide" the excess content or don't use tables for layout and go with a complete CSS design.  CSS and divs are a lot more functional in this situation than tables are.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IanThCommented:
thats because you using old stuff. Jason's comment above use css and div's its the correct way to go  as you can use in the css class or instance for the text area can have scroll: auto set which add scroll bars if the text doesn't fit
0
gstylingCommented:
If you insert text into a table and the table width expands in Dreamweaver please follow these steps:

Right click anywhere in the table cell and choose:

TABLE - EXPANDED TABLE MODE (located at the bottom of the drop down)

This will give you a pop up box, just hit OK.

Now right click the table again and choose the same:

TABLE - EXPANDED TABLE MODE

Presto, your table widths are restored!

Please note that if you have an image that has pixel dimensions that are wider than the table itself then this will not work.

It is a great trick to use when working with locked regions of a Template.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.