 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
donnam
Joined: 25 Jul 2008 Posts: 3
|
Posted: Fri Jul 25, 2008 10:12 am vary cell width |
|
|
|
This is my first time using HTML. I using Survey Monkey, a web-based survey design & hosting site, and it supports some HTML within the "canned" formats.
I am trying to create an HTML table to serve as a page header.
The table consists of 1 row, with 6 cells.
The text in the cells varies in width, but I'd like the cells themselves to be uniform in size, with the text centered within.
No luck so far.
I would greatly appreciate some help!
My latest attempt at coding this is below:
<font size="3" face="Ariel">
<table frame="box">
<tr>
<td align=center>Introduction</td>
<td align=center>Law School</td>
<td align=center>Costs of Education</td>
<td align=center>Career Patterns</td>
<td align=center>Work & Family</td>
<td align=center>Demographics</td>
</tr></font>
</table> |
|
Straystudio
Joined: 14 Apr 2008 Posts: 264 Location: Nord Italy
|
Posted: Fri Jul 25, 2008 10:50 am |
|
|
|
Arial, not Ariel
Automatically, table-cells auto-resize based on which volume of the content.
Otherwise, You can assing width="" to each cell; or to one cell.
Value can be either in pixel or % percentuage; and even both, part of cells in px, other in %.
Do
| Code: |
| <td width="15%" align=center> |
15% x 6 = 90% not 100%, I know.
It works fine the same, though as what it matters is all the cell having equal width-value.
Computer understands "keep same width".
Then, You can enter width="100%" in TABLE tag, too; while border="1" helps graetly to visualize how layout sorts out (after, You will set border as zero). |
|
donnam
Joined: 25 Jul 2008 Posts: 3
|
Posted: Fri Jul 25, 2008 10:58 am Thank you! |
|
|
|
I'll give this a try.
And, so that's why my font wasn't changing! I suppose there is no "little mermaid" font, huh? |
|
donnam
Joined: 25 Jul 2008 Posts: 3
|
Posted: Fri Jul 25, 2008 11:21 am It worked! |
|
|
|
| Thanks for your prompt and extremely helpful reply! |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|