SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
-
Nov 20, 2001, 09:54 #1
- Join Date
- Jul 2001
- Location
- London, UK
- Posts
- 475
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Please somebody help me solve this problem ( tables )
Tables are driving me up the wall !
I am using dreamweaver, this is what i want to do.
I want to make a table with 4 columns and two rows.
In one of the rows i am going to write the name of companies. I want the columns to all be the same width, so that no matter what i write in the columns they will not stretch causing the columns not to be the same width.
I understand that long words with a space will strech the columns but my words i use are not that long and have spaces between them and should not stretch the columns.
Basically its for a graph i am making with the name of the companies in each column, so the columns must all be the same width or the graph will look silly.
Surely there is a way of doing this simply in dreamweaver? Can someone show my how? I have been using dreamweaver 4 and have tryed inserting spacer images makeing the cell widths consistant and all kind of things. I should be able to expand the table to the size i wish with the columns widths staying consistant with each other.
Tables are the only thing which i cannot get my head around, otherwise i am a competant designer. I would appreciate any online tutorials or recommended books that go into detail about the working hell of tables in dreamweaver and step by step common problems and solutions.
Many Thanks for any help.Add your web design / hosting companies to my directory - Web Hosting Directory
Want to join our panel of experts? - Hosting Forums ( top right of forums -expert drop down box for more info ).
-
Nov 20, 2001, 11:20 #2
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Will this TABLE change much? Will it stay the same all the time? You might just consider making an image of it. I believe that Word can create images of graphs. Excel might be able to do it too.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
Nov 20, 2001, 11:30 #3
- Join Date
- Oct 2001
- Location
- Estonia
- Posts
- 141
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you have only 4 cols then make every col 25% width
i'm sure DW has a way to enter those values (properties or smth)
You just can't live without texteditor.(2B) or (not 2B) = FF
-
Nov 20, 2001, 13:26 #4
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you assign a 25% width to every cell then when the page is shrunk the cells will also shrink causing the text to wrap.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
Nov 21, 2001, 00:28 #5
- Join Date
- Jul 2000
- Location
- Long Island, NY
- Posts
- 755
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Can't you just make the table a fixed width and make each cell a fixed number of pixels?
-
Nov 21, 2001, 20:55 #6
- Join Date
- Nov 2001
- Location
- USA
- Posts
- 10
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Tables
Hey-
Flip your Dreamweaver over and use html for fixed width tables. Simply adjust the number 10 to however wide in pixels you want the cells to be.
<table border=1>
<tr>
<td width="10">Company #1</td>
<td width="10">Company #2</td>
<td width="10">Company #3</td>
<td width="10">Company #4</td>
</tr>
<tr>
<td width="10">Whatever Here</td>
<td width="10">Whatever Here</td>
<td width="10">Whatever Here</td>
<td width="10">Whatever Here</td>
</tr>
</table>
This table does not use the % percent for width so it will not change shape. Sometimes its easier to just go for the HTML
Zac
-
Nov 21, 2001, 21:14 #7
- Join Date
- Jul 2000
- Location
- Long Island, NY
- Posts
- 755
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well, yeah, but Dreamweaver will do that, too, just as easily as percentages.
Bookmarks