PDA

View Full Version : Not what I expect


Docjim
04-10-2011, 01:29 PM
First, let me apologize for what is undoubtedly a dumb question. Please don't jump down my throat or tell me to learn code first. I'm just rusty, I've been building site for a long time but have taken a few years off.

On the site I'm building I started with a template and then modified it to meet the style I was looking for more exactly. At first, all was well. When I display the site in any web browser, it looks just fine to me. However in split view or design view on DW5 the tables just run right off the page and it is making it difficult to know what I'm actually designing.

Can anyone please tell me what I've done wrong?

The site is http://www.bigcheesepetro.com (http://www.bigcheesepetro.com)

johnMoss
04-10-2011, 02:17 PM
Can't see what you are referring to. I loaded it into dreamweaver and nothing appears to escape the containers. It's just a wide page. Off topic though you need to declare your HTML type.

Docjim
04-10-2011, 02:56 PM
I don't understand your response regarding html and topic, however what I'm attempting to accomplish is a page that won't exceed users settings. I figure that should be accomplished either by having the page width be 800 pixels or 100% (if someone has 640x480 I don't care if it runs off their page). How do I accomplish this? How do I make sure when I'm in DW5 design view that I'm getting wysiwyg?

Corrosive
04-10-2011, 03:11 PM
Hi Docjim

John is referring to the declaration of what version of HTML you are building to to go at the very start of the page. Here is a quick guide; http://www.w3.org/QA/2002/04/valid-dtd-list.html

The issue you have with WYSIWYG is not uncommon in the fact that different browsers display differently so DW Design View can only really be an approximation of how a browser will display a page.

That, combined with the fact you've used tables (I know you didn't want to hear it), which are outdated for layout means that you are going to struggle with getting Design View to match modern browsers. Just a fact I'm afraid.

Just remember, you build for browsers and not DW :)

johnMoss
04-10-2011, 09:17 PM
Gotta agree on the use of tables. Consider going back in and using divs...