HighDots Forums  

fixed cell width ?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss fixed cell width ? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rosalino
 
Posts: n/a

Default fixed cell width ? - 07-12-2004 , 06:34 AM






This is probably a stupid question, but when typing or copying text into a
cell, how do you get the cell width to stay put, instead of increasing as
you add text ?

Thanks for your help.



Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 07:00 AM






rosalino wrote:

Quote:
This is probably a stupid question, but when typing or copying text into a
cell, how do you get the cell width to stay put, instead of increasing as
you add text ?
Sounds like this could be connected to being in 'Layout Mode'. If you
specify a cell with of 200px the text will turn to another line once it
reaches the maximum width of the cell.

The only time a cell will stretch is to accommodate long words if needs
be and also long email addresses.





Reply With Quote
  #3  
Old   
rosalino
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 08:25 AM



OK, tried switching to standard mode and doesn't seem to make any
difference.
"Osgood" <notavailable (AT) atthisaddress (DOT) com> a écrit dans le message de
news:cctr0l$gm2$1 (AT) forums (DOT) macromedia.com...
Quote:
rosalino wrote:

This is probably a stupid question, but when typing or copying text into
a
cell, how do you get the cell width to stay put, instead of increasing
as
you add text ?

Sounds like this could be connected to being in 'Layout Mode'. If you
specify a cell with of 200px the text will turn to another line once it
reaches the maximum width of the cell.

The only time a cell will stretch is to accommodate long words if needs
be and also long email addresses.






Reply With Quote
  #4  
Old   
Osgood
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 09:01 AM



rosalino wrote:

Quote:
OK, tried switching to standard mode and doesn't seem to make any
difference.
Explain what it is you are doing to make this happen?

Try this:

Insert a 1 row x 4 column table on your page, 600px wide. Give each
column a width of 200px.

Type some text in each column. If you don't have any words which are
longer than 200px the text when it reach the right edge of each cell
will automatically turn to the next line.

Does yours do this?

If not then you may have 'no-wrap' selected in the properties inspector
for the cells?




Reply With Quote
  #5  
Old   
John Waller
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 09:53 AM



This is the nature of HTML table behaviour. You cannot fix the width of a
cell other than setting a minimum by adding a 'shim' graphic (small
transparent GIF image).

Regards

John Waller



Reply With Quote
  #6  
Old   
jetrue
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 11:03 AM



Hi There...

I keep cells at a certain width very often...

To accomplish this, I will make a table, say with three cells. Say the left
cell has a logo, the center cell has some text, and the right cell has some
links. I set the center cell at 100%, as a 'balloon cell', that will prevent
the left cell from expanding at all, and of course it can't contract any
narrower than the image. Then, to keep the right cell from contracting, I put
a 1 pixel high (by as wide as I need) transparent .gif. Then the center balloon
cell at 100% will expand as much as it can, thereby preventing the left and
right cell from expanding any further, while their images keep them from
contracting.

Here's a good tutorial that probably explains this better:
http://www.dwfaq.com/tutorials/Tables/flexible_tables.asp

Good luck!


Reply With Quote
  #7  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 12:01 PM



This will *not* keep that cell from expanding if its contents require it.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"jetrue" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi There...

I keep cells at a certain width very often...

To accomplish this, I will make a table, say with three cells. Say the
left
cell has a logo, the center cell has some text, and the right cell has
some
links. I set the center cell at 100%, as a 'balloon cell', that will
prevent
the left cell from expanding at all, and of course it can't contract any
narrower than the image. Then, to keep the right cell from contracting, I
put
a 1 pixel high (by as wide as I need) transparent .gif. Then the center
balloon
cell at 100% will expand as much as it can, thereby preventing the left
and
right cell from expanding any further, while their images keep them from
contracting.

Here's a good tutorial that probably explains this better:
http://www.dwfaq.com/tutorials/Tables/flexible_tables.asp

Good luck!




Reply With Quote
  #8  
Old   
jetrue
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 02:24 PM



This will *not* keep that cell from expanding if its contents require it.

Won't it, as long as nowrap is not on? The 100% wide balloon cell will expand
as far as it can, and the transparent gif will keep the right cell with text
from contracting less than the width of said gif, while the text should wrap
itself at the width of the gif. This is how it seems to work for me....


Reply With Quote
  #9  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 03:00 PM



Put in an image that is wider than the cell....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"jetrue" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
This will *not* keep that cell from expanding if its contents require it.

Won't it, as long as nowrap is not on? The 100% wide balloon cell will
expand
as far as it can, and the transparent gif will keep the right cell with
text
from contracting less than the width of said gif, while the text should
wrap
itself at the width of the gif. This is how it seems to work for me....




Reply With Quote
  #10  
Old   
jetrue
 
Posts: n/a

Default Re: fixed cell width ? - 07-12-2004 , 03:49 PM



Put in an image that is wider than the cell....

I see where you're coming from now, though I assumed that would go without
saying, since you can't have a cell be smaller than an image you put in it...

The OP was requesting to stop text from enlarging a cell, not an image.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.