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 30th, 2006, 03:41 PM
stp stp is offline
Registered User
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default tables grow on their own

I have created a template using layers as positioning objects
I put tables inside a layer and use each cell as a button
When I check the "preview" option (F12 in DW MX), one of the tables gets wider, and the other gets taller (each button gets taller). Why?



thanks
 
Old May 31st, 2006, 01:49 PM
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,

You shouldn't rely on Dreamweaver's rendering engine, especially when you're using the "old" MX version.

Always test your code in a number of browsers, like Opera, Safari, IE and FireFox.

That said, can you post your code? There may be a reasonable explanation for the difference.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Strugglin' by Tricky (Track 11 from the album: Maxinquaye) What's This?
 
Old June 2nd, 2006, 02:07 PM
stp stp is offline
Registered User
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks I uploaded to my web-hosting provider and behaviour is the same, one table expands horizontally and the other one vertically (look liquid, although sizes are in pixels....)


thanks
 
Old June 2nd, 2006, 05:41 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Do you have a link to the on-line pages available?

It's a bit hard to judge the difference between two pages when you only show the code for one ;)

Besides, you reference a number of (local) images, that may be part of the problem.

You may also want to take a look at your doc type. The current one you have is not valid, causing the page to render differently for sure across various browsers. Look here for a list with valid doc types:

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=283

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old June 3rd, 2006, 02:08 AM
stp stp is offline
Registered User
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well, thanks, no idea whaqt a doc type is, I suppose I should include
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

site is www.algalia.es then press the ALQU button (on the left)

thanks
 
Old June 3rd, 2006, 02:38 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 stp,

In that case, read this article: http://www.alistapart.com/articles/doctype/

Without a proper doc type, a browser like Internet Explorer renders in quirks mode; which can cause all kind of weird issues. By using a proper doc type, there's a better chance that IE and other browsers render the page the same way.

I suggest you fix the page and then try again. If you still have problems, let me know in this thread and I'll have another look. You may need to describe your problem in a bit more detail though because "one of the tables gets wider, and the other gets taller" may accurately describe the problem from your perspective but for me it's hard to see what you are referring to...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old June 5th, 2006, 02:38 AM
stp stp is offline
Registered User
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well, thanks

I recreated the tables, putting 100% in size, and it works now
thanks

thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
creating tables within tables in access??? carswelljr Access 3 August 23rd, 2006 01:21 PM
Fixed tables and/or fixed bkgrnd in tables slg111875 Dreamweaver (all versions) 1 June 22nd, 2006 02:31 PM
Default "can grow" properity welles Crystal Reports 1 April 11th, 2006 12:54 PM
tables rizp ASP.NET 1.0 and 1.1 Basics 3 August 27th, 2004 01:42 AM
two tables StreetSweaper Access 3 January 4th, 2004 02:45 PM





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