 |
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
|
|
|
|

May 30th, 2006, 03:41 PM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

May 31st, 2006, 01:49 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|
|

June 2nd, 2006, 02:07 PM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

June 2nd, 2006, 05:41 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

June 3rd, 2006, 02:08 AM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

June 3rd, 2006, 02:38 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

June 5th, 2006, 02:38 AM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
well, thanks
I recreated the tables, putting 100% in size, and it works now
thanks
thanks
|
|
 |