This is a discussion on "How To Fix <TD> Element Size?" within the Web Page Design section. This forum, and the thread "How To Fix <TD> Element Size? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How To Fix <TD> Element Size?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How To Fix <TD> Element Size?
Hi everybody, i have a problem to fix the size of the <TD> element, can some one help me? Belows is my code:
|
|
|
|
#2
|
||||
|
||||
|
Re: How To Fix <TD> Element Size?
Add this to your CSS styles for that element:
word-wrap: break-word
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
Re: How To Fix <TD> Element Size?
Hi Rob,
I put it in the CSS style and <TD word-wrap:break-word> element, i also add this before HTML tag:
How can i fix the width and display the text in just one line? Do u or anybody have an idea to do this? Last edited by ivan; Dec 1st, 2005 at 00:31. |
|
#4
|
|||
|
|||
|
Re: How To Fix <TD> Element Size?
To make it so the td expands with the text, just dont add a width.
|
|
#5
|
||||
|
||||
|
Re: How To Fix <TD> Element Size?
Quote:
Add the style to the div tag, like so:-
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#6
|
|||
|
|||
|
Re: How To Fix <TD> Element Size?
Thank you Rob, now i can solve the problem.
Thanks a lot.. |
|
#7
|
|||
|
|||
|
Re: How To Fix <TD> Element Size?
I think specify a fixed width may solve the problem like:
|
![]() |
| Tags |
| fix, lttdgt, element, size |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on removing element using yui | shotokan99 | JavaScript Forum | 1 | Aug 31st, 2007 13:42 |
| using params in xsl IF element | zzqproject | Other Programming Languages | 0 | Nov 21st, 2005 23:12 |
| XHTML Block Element in an Inline Element | gohankid77 | Web Page Design | 6 | Jul 27th, 2004 10:15 |