Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 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 March 15th, 2004, 02:27 AM
Registered User
 
Join Date: Jan 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Contracting browser window error?

Howdy

Is it an error for the first site(The Cooking Place), to scramble up when the browser window is contracted?. I believe anything less than 577 pixels causes it to happen. Is there a way to force the tables from doing this?.

Thanks Kn@cKeR

 
Old March 16th, 2004, 04:04 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 there,

No, it's not an error. Browsers will relocate images in a browser window, when they don't fit in the width of the table or document anymore.

There are work arounds, though. You could set explicit widths on the outer table, with HTML attributes (deprecated) or style attributes.
Alternatively, you could add a tiny <tr> that spans all columns in your table. Inside the <tr>, have a single <td> that in turn contains a spacer image of 1 x the width of the entire table.
Since an image can't be wrapped, the browser will add scrollbars instead of relocating the other images.
Since the image is invisible, you visitor's won't even notice it.

However, using a spacer image like is being considered "old skool" more and more. You're supposed to use techniques like CSS to fix these kind of problems. However, this will not always work 100%, depending on your target audience's browsers....

Cheers,

Imar


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





Similar Threads
Thread Thread Starter Forum Replies Last Post
open new browser window rocksbhavesh ASP.NET 1.0 and 1.1 Basics 2 July 19th, 2007 07:34 AM
Open new browser window amatytfc ASP.NET 2.0 Basics 2 February 22nd, 2007 06:03 AM
Close Browser Window MoisesZaragoza Javascript How-To 2 February 6th, 2007 08:02 PM
File Browser window Figgis Access 2 November 20th, 2005 01:49 PM
Launch default browser in a new browser window haiying Beginning VB 6 1 August 30th, 2005 05:48 PM





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