Topic: How to fix a table's size? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Germany |
posted 01-05-2005 17:54
I would like to stop my table from stretching... how to do that please? |
Paranoid (IV) Mad Librarian From: Glienicke |
posted 01-05-2005 18:12
Hi there, |
Bipolar (III) Inmate From: Germany |
posted 01-05-2005 18:21
Thanks... I have just got Dreamweaver and this is what I have set... but if I type some long text in the only TD of the table, dreamweaver stretches the table... I have no idea why. quote:
|
Paranoid (IV) Inmate From: France |
posted 01-05-2005 18:28
First of all, I know this is a test but, you should set the presentation properties in the appropriate layer, that is : in the CSS, not in the (X)HTML. |
Bipolar (III) Inmate From: Germany |
posted 01-05-2005 18:33
I have tried it with styles in a CSS too... it was the same. Even when you type it in Notepad, it behaves the same... what would hint that setting the width is not enough... |
Paranoid (IV) Inmate From: France |
posted 01-05-2005 18:38 |
Bipolar (III) Inmate From: Germany |
posted 01-05-2005 19:12
IE6... and overflow displays scrollbars. I cant believe you cant fix a table to a pixel size... something's wrong... |
Bipolar (III) Inmate From: Germany |
posted 01-05-2005 19:45
Ok I finally found the reason! Call that stupid... If you look up on the source, you'll notice that I tested with one long Blaaaaaaaaaaaaaaaaaaa, which obviously is one word and that can't be divided by the browser. But if you type short words like for example the Lorem Ipsum thingie... it will break on the spaces. |