You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
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.
Good afternoon. The following will hopefully reproduce the behavior I'm getting. Thanks for your patience.
1. Insert a 1 row x 3 column table.
2. Set temp widths to 20%, 60%, 20%
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).
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
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...
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.
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.