How do you create a table using dreamweaver, frontapge, etc?

by BJ Min
3 replies
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
#create #dreamweaver #frontapge #table
  • Profile picture of the author Peter Bestel
    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
    {{ DiscussionBoard.errors[802118].message }}
  • Profile picture of the author billbarrett
    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
    {{ DiscussionBoard.errors[802326].message }}

Trending Topics