 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

July 20th, 2003, 12:10 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
|
|
Page 72 - Table Cell Grows too Large
Hi guys,
Stumped. On page 72 step 4 went OK. In step 5, when I set the width of the left cell to 257 pixels, the cell becomes to wide. The background image no longer fills it.The width of the middle cell is still 60%, and the width of the right cell is still 1%. Tried a dozen times or so, and can't seem to get the left cell set correctly.
Any ideas?
Thanks,
Bob
|
|

July 20th, 2003, 12:31 PM
|
|
Authorized User
|
|
Join Date: Jul 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Bob:
I just checked it and could not reproduce your problem. The background image is just red and should expand and contract to accomodate the cell.
Did you insert the image as a background (in the BG field of the PI), or as a link? Also, you may want to check that it enlarged to 257 pixels and not 250%.
Past that, I am not sure what is wrong. I have not encountered that before.
Is it happening in the Design View window or the browser?
Charles E. Brown
Author - Beginning Dreamweaver MX, Fireworks MX - Zero to Hero
Contributor - Macromedia Studio MX Bible
|
|

July 20th, 2003, 01:25 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
|
|
Hi Charles,
Good afternoon. The following will hopefully reproduce the behavior I'm getting. Thanks for your patience.
Create Table
1. Insert a 1 row x 3 column table.
2. Set temp widths to 20%, 60%, 20%
Right-hand cell
3. Set right cell background to rightsidebkg.gif (Point to File)
4. Insert rightsidebkg.gif into right cell
5. Change rightsidebkg.gif width to 24
6. Select <td> tag on tag selector and change cell width to 1%
(the right cell width decreases and the left cell width increases
when you do this).
Left-hand cell
7. Set left cell background to sidebkg.gif (Point to File)
8. Set vertical alignment to top
9. Change cell width from 20% to 257 pixels
(the left cell width increases again and the cell is no longer
filled by the background image. There is white space in the
right side of the cell. The right cell width also decreases
again).
|
|

July 20th, 2003, 02:44 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
|
|
Hi Charles,
Just thinking out loud here, but mixing pixel width and percentage width columns in the same row doesn't seemto make sense to me. If you adjust the percentage of one ot the precentage-based columns, the width of the pixel-based column changes too, and no longer has any relation to the actual value set as the pixel width property. Hmmmm...
Bob
|
|

July 20th, 2003, 09:29 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
|
|
Hi Charles,
The problem is the screen shot on page 73 following "The left-hand cell should look like this...". In step five the width of the left-hand cell is changed from 20% to 257 pixels (the width of topleft2.gif that gets inserted into the nested table). The screen shot of the nested table follows in step 6, so you would assume that the width of the displayed table is 257 pixels. It isn't. Its 195 pixels as displayed (the 20% setting). The topleft.gif image above it is itslef 290 pixels wide. So when I do change the left-hand cell to 257, it doesn't look llike the screen shot. The cell is larger and padded on the right with white space.
Bob
|
|

July 20th, 2003, 10:07 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
|
|
Hi again Charles,
Alternatively, open the sample TheCookingPlace home page in Design View, select topleft2.gif and delete it. In the table cell behind the topleft2.gif, the red portion of the cell is 195 pixels wide, the white portion is 257 pixels - 195 pixels wide (sidebkg.gif doesn't fill the cell).
Hope I'm not being a pest. Just trying to leave chapter 2 behind.
Bob
|
|
 |