![]() |
| ||||||||
|
|
#1 |
|
Senior Warrior Member
War Room Member
Join Date: Jun 2007
Location: Los Angeles, CA
Posts: 1,458
Thanks: 104
Thanked 24 Times in 15 Posts
|
Hi,
i have a problem creating a table that stays the SAME WIDTH... I created a 1x1 table 600 width pixel... but when i start writing my salesletter, the words go beyond 600 pixels... and it gets wider and wider as i type... how do you make sure the words that reach 600 pixel AUTOMATICALLY go to the 2nd line and 3rd line and so forth... i NEVER had this problem before...but there must be something in tables i messed up...does anyone know how to solve this problem? thanks BJ |
|
|
|
|
|
|
|
|
#2 |
|
there is no spoon
War Room Member
Join Date: Jan 2008
Location: Wigtown, Newton Stewart, Scotland.
Posts: 1,154
Blog Entries: 3
Thanks: 132
Thanked 290 Times in 117 Posts
|
Sounds like you have 'no wrap' selected.
Click in a cell and the 'Properties' box should be open below. You should see the option for 'No Wrap' - uncheck it. ![]() Peter |
|
|
|
|
|
|
|
|
#3 |
|
Senior Warrior Member
War Room Member
Join Date: Jun 2007
Location: Los Angeles, CA
Posts: 1,458
Thanks: 104
Thanked 24 Times in 15 Posts
|
Peter...thank you so much...every day, i learn something new
here on WF...i got it fixed now... BJ |
|
|
|
|
|
|
|
|
#4 |
|
Bill Barrett
War Room Member
Join Date: Feb 2009
Posts: 132
Thanks: 64
Thanked 13 Times in 10 Posts
|
Hi BJ,
I know this is not an answer of your question, but I would suggest you not to use tables as text containers. The better style is to use DIV tags and CSS instead. This way your code is smaller and loads faster. Here's an example for your 600px text container: <div style="width:600px; margin:10px auto 10px auto; padding:20px; border:2px solid #ccc; background:#eee;"> <h1>Your Title</h1> <p>Your text...</p> </div> As you can see, the code is far smaller and clearer. Of course, the best practice is to link to the styles in an external file. I this was done, the entire source code would be: <div id="container"> <h1>Your Title</h1> <p>Your text...</p> </div> Sorry for the little-off-topic answer, but I hope it contains some useful information for you. Best reagards, Bill |
|
|
|
|
|
|
![]() |
|
| Tags |
| create, dreamweaver, frontapge, table |
| Thread Tools | |
|
|
![]() |