HighDots Forums  

Table Width

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Table Width in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
news@blueyonder.co.uk
 
Posts: n/a

Default Table Width - 08-03-2004 , 08:30 PM






Sorry for the silly question I haven't written web pages for a while.

Am I right that when you enter the "td width="50"" it Constrains the table
cell to 50 units?
I find that the size of the table and cells are data dependent which is
causing a major problem. When I use a repeat region, the fields are
appearing un-uniform and dis-jointed.


<table width="178" border="1">
<tr>
<td width="50"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R oad").Value)%></span></td>
<td
width="50"><%=(PropertyDatabase.Fields.Item("Count y").Value)%></td>
<td width="50"><span
class="style1"><%=(PropertyDatabase.Fields.Item("C ity").Value)%></span></td>
<td width="4"><span
class="style1"><%=(PropertyDatabase.Fields.Item("B edrooms").Value)%></span><
/td>
<td width="8"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td>
<td width="6"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td>
<td width="5"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R ef
No:").Value)%></span></td>
</tr>
</table>

Thanks in advance for you help

Paul



Reply With Quote
  #2  
Old   
Paul Whitham TMM
 
Posts: n/a

Default Re: Table Width - 08-03-2004 , 10:09 PM






A TD width setting is designed to create the minumum width of the column,
however it is not consistent across browsers. If the content of the column
is wider and there is room to adjust the render will.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote

Quote:
Sorry for the silly question I haven't written web pages for a while.

Am I right that when you enter the "td width="50"" it Constrains the table
cell to 50 units?
I find that the size of the table and cells are data dependent which is
causing a major problem. When I use a repeat region, the fields are
appearing un-uniform and dis-jointed.


table width="178" border="1"
tr
td width="50"><span

class="style1"><%=(PropertyDatabase.Fields.Item("R oad").Value)%></span></td
td
width="50"><%=(PropertyDatabase.Fields.Item("Count y").Value)%></td
td width="50"><span

class="style1"><%=(PropertyDatabase.Fields.Item("C ity").Value)%></span></td
td width="4"><span

class="style1"><%=(PropertyDatabase.Fields.Item("B edrooms").Value)%></span
/td
td width="8"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="6"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="5"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R ef
No:").Value)%></span></td
/tr
/table

Thanks in advance for you help

Paul





Reply With Quote
  #3  
Old   
news@blueyonder.co.uk
 
Posts: n/a

Default Re: Table Width - 08-04-2004 , 04:07 AM



Thanks Paul.
I'm viewing the table in "IE 6" and the table cell doesn't meet the required
minimum if the data is smaller than the specified td width="50". And in most
cases the table doesn't meet the minimum width either.

How do I constrain a table to a minimum width, and if possible a maximum in
IE.


Thanks again

Paul
"Paul Whitham TMM" <paul (AT) valleybiz (DOT) net> wrote

Quote:
A TD width setting is designed to create the minumum width of the column,
however it is not consistent across browsers. If the content of the column
is wider and there is room to adjust the render will.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote in message
news:t6WPc.41800$a8.11316 (AT) fe2 (DOT) news.blueyonder.co.uk...
Sorry for the silly question I haven't written web pages for a while.

Am I right that when you enter the "td width="50"" it Constrains the
table
cell to 50 units?
I find that the size of the table and cells are data dependent which is
causing a major problem. When I use a repeat region, the fields are
appearing un-uniform and dis-jointed.


table width="178" border="1"
tr
td width="50"><span


class="style1"><%=(PropertyDatabase.Fields.Item("R oad").Value)%></span></td
td
width="50"><%=(PropertyDatabase.Fields.Item("Count y").Value)%></td
td width="50"><span


class="style1"><%=(PropertyDatabase.Fields.Item("C ity").Value)%></span></td
td width="4"><span


class="style1"><%=(PropertyDatabase.Fields.Item("B edrooms").Value)%></span
/td
td width="8"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="6"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="5"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R ef
No:").Value)%></span></td
/tr
/table

Thanks in advance for you help

Paul







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

Default Re: Table Width - 08-04-2004 , 07:26 AM



You can't, really. That's why you will most often see "don't even bother
with cell dimensions" here.

Try running through the table tutorials at the DW FAQ link in my sig to get
a handle on tables.

--
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
==================

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote

Quote:
Thanks Paul.
I'm viewing the table in "IE 6" and the table cell doesn't meet the
required
minimum if the data is smaller than the specified td width="50". And in
most
cases the table doesn't meet the minimum width either.

How do I constrain a table to a minimum width, and if possible a maximum
in
IE.


Thanks again

Paul
"Paul Whitham TMM" <paul (AT) valleybiz (DOT) net> wrote in message
news:cepg9p$sjf$1 (AT) forums (DOT) macromedia.com...
A TD width setting is designed to create the minumum width of the
column,
however it is not consistent across browsers. If the content of the
column
is wider and there is room to adjust the render will.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote in message
news:t6WPc.41800$a8.11316 (AT) fe2 (DOT) news.blueyonder.co.uk...
Sorry for the silly question I haven't written web pages for a while.

Am I right that when you enter the "td width="50"" it Constrains the
table
cell to 50 units?
I find that the size of the table and cells are data dependent which
is
causing a major problem. When I use a repeat region, the fields are
appearing un-uniform and dis-jointed.


table width="178" border="1"
tr
td width="50"><span



class="style1"><%=(PropertyDatabase.Fields.Item("R oad").Value)%></span></td
td
width="50"><%=(PropertyDatabase.Fields.Item("Count y").Value)%></td
td width="50"><span



class="style1"><%=(PropertyDatabase.Fields.Item("C ity").Value)%></span></td
td width="4"><span



class="style1"><%=(PropertyDatabase.Fields.Item("B edrooms").Value)%></span
/td
td width="8"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="6"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="5"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R ef
No:").Value)%></span></td
/tr
/table

Thanks in advance for you help

Paul









Reply With Quote
  #5  
Old   
Paul Whitham TMM
 
Posts: n/a

Default Re: Table Width - 08-04-2004 , 06:36 PM



You can't really contrain to a maximum or a minimum using the td tags. The
most common way of doing it is to have a 1pixel high row and into each place
a transparent spacer images with the size set to the minimum you want.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote

Quote:
Thanks Paul.
I'm viewing the table in "IE 6" and the table cell doesn't meet the
required
minimum if the data is smaller than the specified td width="50". And in
most
cases the table doesn't meet the minimum width either.

How do I constrain a table to a minimum width, and if possible a maximum
in
IE.


Thanks again

Paul
"Paul Whitham TMM" <paul (AT) valleybiz (DOT) net> wrote in message
news:cepg9p$sjf$1 (AT) forums (DOT) macromedia.com...
A TD width setting is designed to create the minumum width of the
column,
however it is not consistent across browsers. If the content of the
column
is wider and there is room to adjust the render will.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote in message
news:t6WPc.41800$a8.11316 (AT) fe2 (DOT) news.blueyonder.co.uk...
Sorry for the silly question I haven't written web pages for a while.

Am I right that when you enter the "td width="50"" it Constrains the
table
cell to 50 units?
I find that the size of the table and cells are data dependent which
is
causing a major problem. When I use a repeat region, the fields are
appearing un-uniform and dis-jointed.


table width="178" border="1"
tr
td width="50"><span



class="style1"><%=(PropertyDatabase.Fields.Item("R oad").Value)%></span></td
td
width="50"><%=(PropertyDatabase.Fields.Item("Count y").Value)%></td
td width="50"><span



class="style1"><%=(PropertyDatabase.Fields.Item("C ity").Value)%></span></td
td width="4"><span



class="style1"><%=(PropertyDatabase.Fields.Item("B edrooms").Value)%></span
/td
td width="8"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="6"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="5"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R ef
No:").Value)%></span></td
/tr
/table

Thanks in advance for you help

Paul









Reply With Quote
  #6  
Old   
news@blueyonder.co.uk
 
Posts: n/a

Default Re: Table Width - 08-06-2004 , 08:24 AM



Thanks Both for your help. I have taken up suggestions and used spacer,
which work fine.

Thanks again

Paul


"Paul Whitham TMM" <paul (AT) valleybiz (DOT) net> wrote

Quote:
You can't really contrain to a maximum or a minimum using the td tags. The
most common way of doing it is to have a 1pixel high row and into each
place
a transparent spacer images with the size set to the minimum you want.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote in message
news:ZO0Qc.44994$a8.24957 (AT) fe2 (DOT) news.blueyonder.co.uk...
Thanks Paul.
I'm viewing the table in "IE 6" and the table cell doesn't meet the
required
minimum if the data is smaller than the specified td width="50". And in
most
cases the table doesn't meet the minimum width either.

How do I constrain a table to a minimum width, and if possible a maximum
in
IE.


Thanks again

Paul
"Paul Whitham TMM" <paul (AT) valleybiz (DOT) net> wrote in message
news:cepg9p$sjf$1 (AT) forums (DOT) macromedia.com...
A TD width setting is designed to create the minumum width of the
column,
however it is not consistent across browsers. If the content of the
column
is wider and there is room to adjust the render will.

--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

"news (AT) blueyonder (DOT) co.uk" <delete007 (AT) blueyonder (DOT) co.uk> wrote in message
news:t6WPc.41800$a8.11316 (AT) fe2 (DOT) news.blueyonder.co.uk...
Sorry for the silly question I haven't written web pages for a
while.

Am I right that when you enter the "td width="50"" it Constrains the
table
cell to 50 units?
I find that the size of the table and cells are data dependent which
is
causing a major problem. When I use a repeat region, the fields are
appearing un-uniform and dis-jointed.


table width="178" border="1"
tr
td width="50"><span




class="style1"><%=(PropertyDatabase.Fields.Item("R oad").Value)%></span></td
td
width="50"><%=(PropertyDatabase.Fields.Item("Count y").Value)%></td
td width="50"><span




class="style1"><%=(PropertyDatabase.Fields.Item("C ity").Value)%></span></td
td width="4"><span




class="style1"><%=(PropertyDatabase.Fields.Item("B edrooms").Value)%></span
/td
td width="8"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="6"><%=(PropertyDatabase.Fields.Item("Post
Code").Value)%></td
td width="5"><span
class="style1"><%=(PropertyDatabase.Fields.Item("R ef
No:").Value)%></span></td
/tr
/table

Thanks in advance for you help

Paul











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.