Forums

This topic is locked

DW MX 2004 problem/bug

Posted 31 May 2004 21:25:26
1
has voted
31 May 2004 21:25:26 jones mingles posted:
Hello all!

My first post here n stuf...k here we go:

I was building a page using frames. Inside one of those frames I had a <pre id=code><font face=courier size=2 id=code>background-attachment:fixed;</font id=code></pre id=code> css property set in the <pre id=code><font face=courier size=2 id=code>body</font id=code></pre id=code> tag. Everything was fine till I intentionally created blank spaces at the bottom of the page so I could verify that the background was working correctly. I intentionally generated scrollbars.

It wasn't working correctly. My page was having what seemed to be redraw problems. The images and the text was getting black and all was out of place and distorted. Did NOT look the way it was intended to. One other thing: I was also setting the <pre id=code><font face=courier size=2 id=code>scroll</font id=code></pre id=code> class I created in the <pre id=code><font face=courier size=2 id=code>body</font id=code></pre id=code> tag so I could change the color of the scrollbar. It wasnt working either. No css link problem because the css code was on the page itself.

I compared my page to other pages that had those properties and I couldn't see any differences but one: the <pre id=code><font face=courier size=2 id=code>!DOCTYPE</font id=code></pre id=code> stuff right on top of the page. My faulty page had:<pre id=code><font face=courier size=2 id=code>!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd"</font id=code></pre id=code>That was automatically put there when I created my page through DW's menu file -&gt; new -&gt; basic page -&gt; html.

The working pages only had

<pre id=code><font face=courier size=2 id=code>!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"</font id=code></pre id=code>

So I deleted the

<pre id=code><font face=courier size=2 id=code>"www.w3.org/TR/html4/loose.dtd"</font id=code></pre id=code>

and everything started to work just fine.

I don't know why DW put this extra attribute there. Every page I've ever created did not have this attributed and they all worked just fine.

If you're having similar problems this is worth trying. Also if you're stuck and cant find any other logical solution. I guessed it and I was right.

English is not my mother tongue so please bare with me <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Before I forget: I'm working on win2k sp1 and IE 6.0.2800.1106.

c u all!

Reply to this topic