|
Posted by Viken Karaguesian on April 1, 2005, 11:22 am
Please log in for more thread options
Hello all,
I'm having a problem with DOCTYPES. Until now, I haven't been
specifying doctypes. I want to start specifying doctypes, but am having
trouble doing so. Whenever I specify a doctype, *any* doctype, *I
almost always* get a horizontal scroll bar in IE, but not in
Firefox/Opera.
It seems as if the page stretches beyond the browsers borders. Even if
I set ultra-narrow margins and only have one word on the page, I get a
horizontal scrollbar. I can't figure out why.
For the times I don't get a scroll bar, I try building the page one
step at a time, always checking for the scroll bar. I can't detect any
sort of pattern. Sometimes it appears, sometimes it doesn't.
Is there a known bug with doctypes and IE? This is driving me crazy!
Viken
|
|
Posted by David Ross on April 1, 2005, 11:57 am
Please log in for more thread options
Viken Karaguesian wrote:
>
> Hello all,
>
> I'm having a problem with DOCTYPES. Until now, I haven't been
> specifying doctypes. I want to start specifying doctypes, but am having
> trouble doing so. Whenever I specify a doctype, *any* doctype, *I
> almost always* get a horizontal scroll bar in IE, but not in
> Firefox/Opera.
>
> It seems as if the page stretches beyond the browsers borders. Even if
> I set ultra-narrow margins and only have one word on the page, I get a
> horizontal scrollbar. I can't figure out why.
>
> For the times I don't get a scroll bar, I try building the page one
> step at a time, always checking for the scroll bar. I can't detect any
> sort of pattern. Sometimes it appears, sometimes it doesn't.
>
> Is there a known bug with doctypes and IE? This is driving me crazy!
Please give us an example of your DOCTYPE declaration or the URL to
one of your pages where you use it.
--
David E. Ross
<URL:http://www.rossde.com/>
I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
|
|
Posted by Viken Karaguesian on April 1, 2005, 8:29 pm
Please log in for more thread options
Sorry it took so long to reply - I just got home from work. You can see an
example of my issue at:
http://www.abakadanceschool.com/test.html
Below is the doctype that I'm using:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
My page is a frames page and I've included the doctype in all the pages
related to the frame. I just can't seem to find a pattern or any one element
that seems to be causing this to happen. Thanks to all who reply :>)
Viken
|
|
Posted by Dan on April 1, 2005, 5:53 pm
Please log in for more thread options
Viken Karaguesian wrote:
> Below is the doctype that I'm using:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd"> >
> My page is a frames page and I've included the doctype in all the
pages
> related to the frame. I just can't seem to find a pattern or any one
element
> that seems to be causing this to happen. Thanks to all who reply :>)
The Frameset DTD is only supposed to be used on the frameset, not on
the individual frame pages used within it.
Anyway, frames have lots of problems that make them undesirable to use:
http://webtips.dan.info/frames.html
--
Dan
|
|
Posted by Viken Karaguesian on April 1, 2005, 8:58 pm
Please log in for more thread options
> The Frameset DTD is only supposed to be used on the frameset, not on
> the individual frame pages used within it.
>
> Anyway, frames have lots of problems that make them undesirable to use:
> http://webtips.dan.info/frames.html
Thanks, I've been wondering about that. So if I use the Frameset DTD on the
frameset, should I use another doctype on the individual pages?
|
| Similar Threads | Posted | | Doctypes, validity etc. | November 14, 2006, 9:26 am |
| problems tag img | January 23, 2007, 8:43 am |
| Problems with IE | February 19, 2008, 1:14 am |
| Problems with iframe tag | September 14, 2004, 6:24 pm |
| problems with JavaScript | February 10, 2005, 5:32 pm |
| Google Bot problems? | March 9, 2005, 3:03 pm |
| # giving me problems | May 5, 2005, 7:11 am |
| Problems with Homesite 5 & SSL FTP | June 2, 2005, 4:37 am |
| W3C Validation Problems | June 25, 2005, 4:21 am |
| XHTML Problems | July 3, 2005, 8:19 am |
|