To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Tools > Dreamweaver

Dreamweaver In need of help with Dreamweaver?

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-11-2003, 04:37 PM   #1
Major Tom
Junior Member
 
Major Tom's Avatar
 
Join Date: Nov 2002
Posts: 15
Unhappy Dreamweaver 4.0 tables -> MX headache

I've got this site I did in DW 4.0 some time ago. The pages are done with tables for layout and validates ok as HTML 4.01 Transitional. Now I'm trying to open these files in MX and run into problems...

When I open a file in design view it shows the bottom part of the page as far up as the screen will show but nothing more. Any attempt to scroll up is futile.

Are there any compability problems here I don't know of?

(The site is here, btw...)


Edit: I know, I know... this isn't PHP-related. Please delete/remove if I'm off topic here

Last edited by Major Tom; 03-11-2003 at 06:13 PM.
Major Tom is offline   Reply With Quote
Old 03-12-2003, 01:52 PM   #2
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
Hi, I opened the page in my Dreamweaver MX and it looked just fine to me.

Can you better explain the problem you are having? Also... Macromedia released a DWMX 6.1 update which fixes a ton of bugs, you might want to download that if you haven't already got it.

http://www.macromedia.com

~ ~ ~ ~ ~

Also, I was looking at your code. Here is two tips you may want to keep in mind.

If you have a:

Code:
<td></td>
without any content between the TD tags, always make sure you change it to:

Code:
<td>nbsp;</td> (put a "&" before nbsp; )
non-breaking space prevents the empty cell from appearing strange in NS4.

And also even though you have a CSS file, it is still good practice to include text, bgcolor and/or background inside your BODY tag.

This way that info will display to users of NS3.1 because it doesn't really support CSS.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Old 03-12-2003, 01:54 PM   #3
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
You posted this topic inside the Dreamweaver forum, so its okay.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Old 03-12-2003, 02:39 PM   #4
Major Tom
Junior Member
 
Major Tom's Avatar
 
Join Date: Nov 2002
Posts: 15
Quote:
Originally posted by mzanimephp
Hi, I opened the page in my Dreamweaver MX and it looked just fine to me.

Can you better explain the problem you are having? Also... Macromedia released a DWMX 6.1 update which fixes a ton of bugs, you might want to download that if you haven't already got it.
The problem is that no matter how long the page is, the design view will only show what fits into the window - I can't access the rest of the page in design view, only in code view...

I wasn't aware of an update. I guess I'll have to take look at that one. Thanks

Quote:

~ ~ ~ ~ ~

Also, I was looking at your code. Here is two tips you may want to keep in mind.

If you have a:

Code:
<td></td>
without any content between the TD tags, always make sure you change it to:

Code:
<td>nbsp;</td> (put a "&" before nbsp; )
non-breaking space prevents the empty cell from appearing strange in NS4.

And also even though you have a CSS file, it is still good practice to include text, bgcolor and/or background inside your BODY tag.

This way that info will display to users of NS3.1 because it doesn't really support CSS.
Oh, the code is old and bad... I'll take a look at this though. Thank's for the tips.

I'm considering rebuilding it into layer/CSS layout though - get rid of those layout tables once and for all
Major Tom is offline   Reply With Quote
Old 03-12-2003, 05:20 PM   #5
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
Quote:
Originally posted by Major Tom
The problem is that no matter how long the page is, the design view will only show what fits into the window - I can't access the rest of the page in design view, only in code view...
So, your saying you don't see no scroll bar?? In design view?

Quote:
Originally posted by Major Tom
I'm considering rebuilding it into layer/CSS layout though - get rid of those layout tables once and for all
Yeah Dreamweaver MX also has a neat little feature; in design view, at the top in the menu bar:

Click on "Modify" > "Convert" > "Convert Tables to Layers"

This may need some tweaking afterwards, but it is supposed to be a quick table/layer converter.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Old 03-12-2003, 07:11 PM   #6
Major Tom
Junior Member
 
Major Tom's Avatar
 
Join Date: Nov 2002
Posts: 15
Quote:
Originally posted by mzanimephp
So, your saying you don't see no scroll bar?? In design view?
Basically yes. Or rather: I see a scrollbar, but nothing to scroll

http://www.kerak.com/images/dw_error.gif


Quote:

Yeah Dreamweaver MX also has a neat little feature; in design view, at the top in the menu bar:

Click on "Modify" > "Convert" > "Convert Tables to Layers"

This may need some tweaking afterwards, but it is supposed to be a quick table/layer converter.
*shudder*

I think I'll code it from scratch (the layout, that is...). It'll be easier when I don't have to drag along all the old errors into a convertion
Major Tom is offline   Reply With Quote
Old 03-12-2003, 09:27 PM   #7
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
Thumbs up

I figured it out. Inside your CSS file there is a statement for tables that says:

Code:
table { font-family: Tahoma, Verdana, Arial, sans-serif;
        font-size: 10px;
        color: #006600;
        border: 2px #006600 solid;
        position: relative;
        background-image: url(img/chart.gif)
        }
If you remove the line that says "position: relative;" it'll display fine. positioning is a aspect that applies to layers, not tables, so it is confusing DWMX.

Also you should atleast try the converter, if you don't like how it works, you can simply undo it.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Old 03-16-2003, 11:50 AM   #8
Major Tom
Junior Member
 
Major Tom's Avatar
 
Join Date: Nov 2002
Posts: 15
Thumbs up

It works! You're a frickin' genious!
Major Tom is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT -4. The time now is 02:01 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.