Wrox Programmer Forums
|
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
 
Old May 11th, 2005, 04:53 PM
Registered User
 
Join Date: May 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColinS
Default Beginning Dreamweaver MX 2004 - Page 73

Hi, sorry for what must be a very simple issue, but I'm totally baffled. When I insert the final image in the table (botright.gif) the right hand side is slightly out of alignment. Both the botttom images are set at 50%, but the bottom right gif looks like it has been pushed outwards, Am I missing something very obvious here?
Here's the code from the affected area. As far as I can tell my coding is the same as the downloaded image's.

</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/botbkg.gif">
  <tr>
    <td width="50%"><img src="images/botleft.gif" width="235" height="40" /></td>
    <td width="50%"><div align="right"><img src="images/botright.gif" width="69" height="40" /></div></td>
  </tr>

I'd appreciate whatever advice anyone can give me here so I can finally move on to chapter 3.

Even a stopped clock is right twice a day.
 
Old May 12th, 2005, 01:07 AM
Registered User
 
Join Date: May 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColinS
Default

Here's a link - http://www.geocities.com/smerdyakov_sadhun/
the only modification I've made here is to take the images out of their folder for the purpose of uploading - Hope this helps. ColinS

Even a stopped clock is right twice a day.
 
Old May 12th, 2005, 11:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi ColinS

I didn't have the time to give this a thorough look, so I may be recommending something that isn't supposed to work. However, you can fix the design by changing the width of the rightsidebkg.gif image, like this:

<td width="1%" background="rightsidebkg.gif"><img height=31 width="24" src="rightsidebkg.gif" width=28></td>

The width used to be 28, but since the red part of rightsidebkg.gif is only 24 px wide, changing the red side to 24 seems to fix the problem.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old May 12th, 2005, 01:33 PM
Registered User
 
Join Date: May 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColinS
Default

Hi Imar, thanks very much - sorted...and I may even have learned something in the process.

A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
 
Old May 14th, 2005, 02:01 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Great.

Feel free to post here again if you have other questions....


Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning Dreamweaver MX 2004 - Pgs 173-185 maezee Dreamweaver (all versions) 4 July 24th, 2005 02:22 AM
Beginning Dreamweaver Mx 2004 (Global Soccer) terry s Dreamweaver (all versions) 5 September 26th, 2004 06:08 AM
Dreamweaver MX 2004 terry s Dreamweaver (all versions) 3 August 26th, 2004 12:40 PM
Beginning Dreamweaver MX 2004? stephman Dreamweaver (all versions) 6 January 22nd, 2004 05:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.