HighDots Forums  

can you restrict cell width?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss can you restrict cell width? in the Macromedia Dreamweaver forum.



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

Default can you restrict cell width? - 11-01-2005 , 01:01 PM






I have a 2 column x 1 row table, and what I want is to restrict the left cell(column) so that it doesn't expand in width as the page gets wider, do I need to insert a new table into this cell?

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

Default Re: can you restrict cell width? - 11-01-2005 , 01:10 PM






A cell with an explicit pixel width either as a value of the width attribute
or as the style of a CSS rule will only expand beyond that width under the
following conditions:

1. It's not possible to draw the table using that width - an example would
be a 500px wide table with a single cell that is set to 300px width
2. You have placed something within that cell that is wider than the
specified cell width - an example would be an image that is 500px in a 300px
wide cell, or a line of type that contains no spaces so that a line break
can occur

For this reason, cell widths are regarded as a) minimum values only, and b)
suggested values only.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================


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

Quote:
I have a 2 column x 1 row table, and what I want is to restrict the left
cell(column) so that it doesn't expand in width as the page gets wider,
do I need to insert a new table into this cell?



Reply With Quote
  #3  
Old   
Alper Bulu?
 
Posts: n/a

Default Re: can you restrict cell width? - 11-01-2005 , 01:38 PM



No. You dont need to add another table. Just define your cell's width in
pixels. I.E



Originally posted by: MeadowRyan
I have a 2 column x 1 row table, and what I want is to restrict the left
cell(column) so that it doesn't expand in width as the page gets wider, do I
need to insert a new table into this cell?



<table width="300">
<tr>
<td width="100>I am col-left</td>
<td width="200">And I am col-right</td>
</tr>
</table>


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.