Solved

Keeping cell width fixed in Dreamweaver when inserting text

Posted on 2009-07-07
4
509 Views
Last Modified: 2015-01-05
How do i keep a cell width fixed so that overflowing or wrapping text stays within the cell making the height higher in Dreamweaver?
0
Comment
Question by:sugarlee
4 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 250 total points
ID: 24800073
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
 
LVL 30

Expert Comment

by:IanTh
ID: 24802693
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
 
LVL 2

Expert Comment

by:gstyling
ID: 24820388
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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Modify Area Above Editable Region In DW Template. 6 471
How to setup "Site" setup , in Dreamweaver 5 456
Lock Form Controls 3 309
Jquery submit form question 11 122
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question