Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 20th, 2003, 12:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 10 Times in 9 Posts
Default 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
Reply With Quote
  #2 (permalink)  
Old July 20th, 2003, 12:31 PM
Authorized User
 
Join Date: Jul 2003
Location: New Milford, NJ, USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to chabrown Send a message via MSN to chabrown
Default

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
Reply With Quote
  #3 (permalink)  
Old July 20th, 2003, 01:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 10 Times in 9 Posts
Default

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).
Reply With Quote
  #4 (permalink)  
Old July 20th, 2003, 02:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 10 Times in 9 Posts
Default

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
Reply With Quote
  #5 (permalink)  
Old July 20th, 2003, 09:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 10 Times in 9 Posts
Default

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
Reply With Quote
  #6 (permalink)  
Old July 20th, 2003, 10:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 10 Times in 9 Posts
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract 8 Tables into 1 Large Table hewstone999 Access VBA 1 March 4th, 2008 08:19 AM
Access Database and Large Excel Table xpromac MySQL 1 October 24th, 2006 05:38 PM
Temp Tables vs. Large Table DaveGerard SQL Server ASP 0 August 4th, 2005 10:08 AM



All times are GMT -4. The time now is 09:13 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.