HighDots Forums  

pading in table cells?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss pading in table cells? in the Macromedia Dreamweaver forum.



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

Default pading in table cells? - 11-01-2005 , 08:41 AM






hi there!!
i'm creating a website in html using a template language.
in a loop there are automaticly created table cells (<td width="80px"
height="32px">LINK TO TOPIC </td>) for each topic with the name of the topic
and the link. Unfortunately in the Browser the width of the cells isn't 80 px
but it changes due to the length of the topicname. when i increase the width to
120 the cells are all of the same size. is there a problem with the pading or
margin? thanx so much in advance!!
Cheers, dan




Reply With Quote
  #2  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: pading in table cells? - 11-01-2005 , 11:43 AM






You need to insert a space or dash in the text to give it a place to
break so that it wraps to another line.

HTH,
Randy


Quote:
i'm creating a website in html using a template language.
in a loop there are automaticly created table cells (<td width="80px"
height="32px">LINK TO TOPIC </td>) for each topic with the name of the topic
and the link. Unfortunately in the Browser the width of the cells isn't 80 px
but it changes due to the length of the topicname. when i increase the width to
120 the cells are all of the same size. is there a problem with the pading or
margin? thanx so much in advance!!


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

Default Re: pading in table cells? - 11-03-2005 , 07:20 AM



i don't unterstand that! Where should i insert a dash?

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

Default Re: pading in table cells? - 11-03-2005 , 07:26 AM



Anywhere in the text - it tells the browser that it's OK to wrap the line at
that point.

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


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

Quote:
i don't unterstand that! Where should i insert a dash?



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

Default Re: pading in table cells? - 11-03-2005 , 08:16 AM



isn't that non-valid.

<td width="80px" height="32px">LINK TO TOPIC </td>





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

Default Re: pading in table cells? - 11-03-2005 , 08:54 AM



No. It's valid, but deprecated.

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


"Alper Bulu?" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
isn't that non-valid.

td width="80px" height="32px">LINK TO TOPIC </td







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

Default Re: pading in table cells? - 11-03-2005 , 08:54 AM



Ahh - well, you're right.

The "px" are implicit in those attributes, and are not needed....

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


"Alper Bulu?" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
isn't that non-valid.

td width="80px" height="32px">LINK TO TOPIC </td







Reply With Quote
  #8  
Old   
Gary White
 
Posts: n/a

Default Re: pading in table cells? - 11-03-2005 , 10:23 AM



On Thu, 3 Nov 2005 07:26:52 -0500, "Murray *TMM*"
<forums (AT) HAHAgreat-web-sights (DOT) com> wrote:

Quote:
Anywhere in the text - it tells the browser that it's OK to wrap the line at
that point.

Gecko browsers like Firefox, Mozilla, and Netscape won't break a line on
a hyphen. They need a space character.

Gary


Reply With Quote
  #9  
Old   
Michael Fesser
 
Posts: n/a

Default Re: pading in table cells? - 11-03-2005 , 10:46 AM



..oO(Gary White)

Quote:
Gecko browsers like Firefox, Mozilla, and Netscape won't break a line on
a hyphen. They need a space character.
Opera does.

And what I found recently: it also supports 'display: compact' and
'display: run-in' quite well ... FF doesn't.

Just my 2 cents

Micha


Reply With Quote
  #10  
Old   
Gary White
 
Posts: n/a

Default Re: pading in table cells? - 11-03-2005 , 11:55 AM



On Thu, 03 Nov 2005 16:46:29 +0100, Michael Fesser <netizen (AT) gmx (DOT) de>
wrote:

Quote:
Gecko browsers like Firefox, Mozilla, and Netscape won't break a line on
a hyphen. They need a space character.

Opera does.

And what I found recently: it also supports 'display: compact' and
'display: run-in' quite well ... FF doesn't.

Just my 2 cents

Actually, I like Opera quite a lot. If it weren't for the Web Developer
Toolbar for Firefox, I'd probably be using Opera as my browser of
choice.

Gary


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.