PC Review


Reply
Thread Tools Rate Thread

DOCTYPE problems with scroll-bars

 
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      9th Dec 2005
When I incert the following DOCTYPE statement:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

a left-right scroll bar appears at the bottom of the page when it is not
needed. I am using frames and in the frame properties I have ticked "When
needed" for scroll bars.

If I remove the DOCTYPE statement, the page displays perfectly.

Any help is much appreciated.
 
Reply With Quote
 
 
 
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      9th Dec 2005
URL?

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/


"uk_sailor" <(E-Mail Removed)> wrote in message
news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> When I incert the following DOCTYPE statement:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd">
>
> a left-right scroll bar appears at the bottom of the page when it is not
> needed. I am using frames and in the frame properties I have ticked "When
> needed" for scroll bars.
>
> If I remove the DOCTYPE statement, the page displays perfectly.
>
> Any help is much appreciated.



 
Reply With Quote
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      9th Dec 2005
It's a new site that isn't published yet, so I am not able to give you the
URL.

"Kathleen Anderson [MVP - FrontPage]" wrote:

> URL?
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
>
>
> "uk_sailor" <(E-Mail Removed)> wrote in message
> news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> > When I incert the following DOCTYPE statement:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> > "http://www.w3.org/TR/html4/frameset.dtd">
> >
> > a left-right scroll bar appears at the bottom of the page when it is not
> > needed. I am using frames and in the frame properties I have ticked "When
> > needed" for scroll bars.
> >
> > If I remove the DOCTYPE statement, the page displays perfectly.
> >
> > Any help is much appreciated.

>
>
>

 
Reply With Quote
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      9th Dec 2005
I've now published it, but tagged it onto another website...

http://www.stingo.co.uk/nambiti/home.htm

Thanks for trying to help me.

"Kathleen Anderson [MVP - FrontPage]" wrote:

> URL?
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
>
>
> "uk_sailor" <(E-Mail Removed)> wrote in message
> news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> > When I incert the following DOCTYPE statement:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> > "http://www.w3.org/TR/html4/frameset.dtd">
> >
> > a left-right scroll bar appears at the bottom of the page when it is not
> > needed. I am using frames and in the frame properties I have ticked "When
> > needed" for scroll bars.
> >
> > If I remove the DOCTYPE statement, the page displays perfectly.
> >
> > Any help is much appreciated.

>
>
>

 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      9th Dec 2005
With a !doctype IE renders table cells, <divs> and other containers in
Standards mode, which is different to rendering in Quirks mode
without the !doctype.
<table cellpadding=2 cellspacing=0>
<tr>
<td width=100>...</td>

With a !doctype, the above cell will have a total width of 104px - the
cellpadding 2 x 2px, plus the cell content of 100px.
Without the !doctype, the cell will have a total width of 100px - The
cellpadding 2 x 2px, plus cell content of 96px.
With the !doctype, all (modern) browsers will render the table in the
same way, without it, rendering may be as for standards mode, or
otherwise.
See
http://msdn.microsoft.com/library/de...hancements.asp
for details.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/


"Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote
in message news:OdmeRML$(E-Mail Removed)...
> URL?
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
>
>
> "uk_sailor" <(E-Mail Removed)> wrote in message
> news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> > When I incert the following DOCTYPE statement:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> > "http://www.w3.org/TR/html4/frameset.dtd">
> >
> > a left-right scroll bar appears at the bottom of the page when it

is not
> > needed. I am using frames and in the frame properties I have

ticked "When
> > needed" for scroll bars.
> >
> > If I remove the DOCTYPE statement, the page displays perfectly.
> >
> > Any help is much appreciated.

>
>



 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      9th Dec 2005
With a !doctype IE renders table cells, <divs> and other containers in
Standards mode, which is different to rendering in Quirks mode
without the !doctype.
<table cellpadding=2 cellspacing=0>
<tr>
<td width=100>...</td>

With a !doctype, the above cell will have a total width of 104px - the
cellpadding 2 x 2px, plus the cell content of 100px.
Without the !doctype, the cell will have a total width of 100px - The
cellpadding 2 x 2px, plus cell content of 96px.
With the !doctype, all (modern) browsers will render the table in the
same way, without it, rendering may be as for standards mode, or
otherwise.
See
http://msdn.microsoft.com/library/de...hancements.asp
for details.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/




--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/


"uk_sailor" <(E-Mail Removed)> wrote in message
news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> When I incert the following DOCTYPE statement:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd">
>
> a left-right scroll bar appears at the bottom of the page when it is

not
> needed. I am using frames and in the frame properties I have ticked

"When
> needed" for scroll bars.
>
> If I remove the DOCTYPE statement, the page displays perfectly.
>
> Any help is much appreciated.



 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      9th Dec 2005
Oops - this reply was meant for UK-sailor
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/


"Ronx" <(E-Mail Removed)> wrote in message
news:OFL5qvL$(E-Mail Removed)...
> With a !doctype IE renders table cells, <divs> and other containers

in
> Standards mode, which is different to rendering in Quirks mode
> without the !doctype.
> <table cellpadding=2 cellspacing=0>
> <tr>
> <td width=100>...</td>
>
> With a !doctype, the above cell will have a total width of 104px -

the
> cellpadding 2 x 2px, plus the cell content of 100px.
> Without the !doctype, the cell will have a total width of 100px -

The
> cellpadding 2 x 2px, plus cell content of 96px.
> With the !doctype, all (modern) browsers will render the table in

the
> same way, without it, rendering may be as for standards mode, or
> otherwise.
> See
>

http://msdn.microsoft.com/library/de...hancements.asp
> for details.
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
>
>
> "Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)>

wrote
> in message news:OdmeRML$(E-Mail Removed)...
> > URL?
> >
> > --
> > ~ Kathleen Anderson
> > Microsoft MVP - FrontPage
> > Spider Web Woman Designs
> > web: http://www.spiderwebwoman.com/resources/
> >
> >
> > "uk_sailor" <(E-Mail Removed)> wrote in message
> > news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> > > When I incert the following DOCTYPE statement:
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> > > "http://www.w3.org/TR/html4/frameset.dtd">
> > >
> > > a left-right scroll bar appears at the bottom of the page when

it
> is not
> > > needed. I am using frames and in the frame properties I have

> ticked "When
> > > needed" for scroll bars.
> > >
> > > If I remove the DOCTYPE statement, the page displays perfectly.
> > >
> > > Any help is much appreciated.

> >
> >

>
>



 
Reply With Quote
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      9th Dec 2005
Thanks Ron, I'll whip out my abacus and add up my table and border widths and
see if that sorts it out. Will make another reply if the problem persists.

"Ronx" wrote:

> With a !doctype IE renders table cells, <divs> and other containers in
> Standards mode, which is different to rendering in Quirks mode
> without the !doctype.
> <table cellpadding=2 cellspacing=0>
> <tr>
> <td width=100>...</td>
>
> With a !doctype, the above cell will have a total width of 104px - the
> cellpadding 2 x 2px, plus the cell content of 100px.
> Without the !doctype, the cell will have a total width of 100px - The
> cellpadding 2 x 2px, plus cell content of 96px.
> With the !doctype, all (modern) browsers will render the table in the
> same way, without it, rendering may be as for standards mode, or
> otherwise.
> See
> http://msdn.microsoft.com/library/de...hancements.asp
> for details.
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
>
>
>
>
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
>
>
> "uk_sailor" <(E-Mail Removed)> wrote in message
> news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> > When I incert the following DOCTYPE statement:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> > "http://www.w3.org/TR/html4/frameset.dtd">
> >
> > a left-right scroll bar appears at the bottom of the page when it is

> not
> > needed. I am using frames and in the frame properties I have ticked

> "When
> > needed" for scroll bars.
> >
> > If I remove the DOCTYPE statement, the page displays perfectly.
> >
> > Any help is much appreciated.

>
>
>

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      9th Dec 2005
This is the wrong doctype to have on your interior pages -

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

That should only be on the Frameset page - the interior pages should just be
HTML4.01 Transitional/Strict.

Also, your framebuster script is not working properly -

<body
onload="if(parent.frames[0]&amp;&amp;parent.frames['contents'].Go)parent.frames['contents'].Go();">

<font face="Calligraph421 BT">

This is not a websafe font - most will see TIMES/TIMES NEW ROMAN there.

And you *REALLY* should get rid of this non-functional stuff -

<script type="text/javascript" src="JavaScript/NoCopy.js"></script>

When I look at your page, I already have all of your images.

Do you know that most people will *not* see your Java applets in the top
frame? This means that the rotating image effect will be lost for them -
they will see a gray box there. That's because most people do not have the
Java engine installed. It hasn't been a part of windows since W98, I
believe. I'd strongly encourage you to get rid of the Java.

Finally, you could solve your problem completely by not using frames - nor
is there anything in the design of this page that would suggest frames as an
optimal solution. But I guess you are committed to it now.

For what it's worth, I do not see the horizontal scrollbar in FireFox or any
other modern browser. It's only apparent in IE. But you can try to fix
this by changing this -

<frame frameborder="0" framespacing="0" name="home" target="_self"
scrolling="auto"

to this -

<frame frameborder="0" framespacing="0" name="home" target="_self"

in your frameset page.

--
Murray
============

"uk_sailor" <(E-Mail Removed)> wrote in message
news:8572E866-12A6-4789-94EF-(E-Mail Removed)...
> I've now published it, but tagged it onto another website...
>
> http://www.stingo.co.uk/nambiti/home.htm
>
> Thanks for trying to help me.
>
> "Kathleen Anderson [MVP - FrontPage]" wrote:
>
>> URL?
>>
>> --
>> ~ Kathleen Anderson
>> Microsoft MVP - FrontPage
>> Spider Web Woman Designs
>> web: http://www.spiderwebwoman.com/resources/
>>
>>
>> "uk_sailor" <(E-Mail Removed)> wrote in message
>> news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
>> > When I incert the following DOCTYPE statement:
>> >
>> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
>> > "http://www.w3.org/TR/html4/frameset.dtd">
>> >
>> > a left-right scroll bar appears at the bottom of the page when it is
>> > not
>> > needed. I am using frames and in the frame properties I have ticked
>> > "When
>> > needed" for scroll bars.
>> >
>> > If I remove the DOCTYPE statement, the page displays perfectly.
>> >
>> > Any help is much appreciated.

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?dWtfc2FpbG9y?=
Guest
Posts: n/a
 
      9th Dec 2005
Ron, that didn't sort the problem out... I've read the microsoft link from
your reply, but sadly, it's way over my head.

Is it going to make that much difference if I just remove the DOCTYPE
statement?

Thanks
John

"Ronx" wrote:

> With a !doctype IE renders table cells, <divs> and other containers in
> Standards mode, which is different to rendering in Quirks mode
> without the !doctype.
> <table cellpadding=2 cellspacing=0>
> <tr>
> <td width=100>...</td>
>
> With a !doctype, the above cell will have a total width of 104px - the
> cellpadding 2 x 2px, plus the cell content of 100px.
> Without the !doctype, the cell will have a total width of 100px - The
> cellpadding 2 x 2px, plus cell content of 96px.
> With the !doctype, all (modern) browsers will render the table in the
> same way, without it, rendering may be as for standards mode, or
> otherwise.
> See
> http://msdn.microsoft.com/library/de...hancements.asp
> for details.
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
>
>
>
>
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
>
>
> "uk_sailor" <(E-Mail Removed)> wrote in message
> news:F9EFC4E7-88D7-4FE8-AE71-(E-Mail Removed)...
> > When I incert the following DOCTYPE statement:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> > "http://www.w3.org/TR/html4/frameset.dtd">
> >
> > a left-right scroll bar appears at the bottom of the page when it is

> not
> > needed. I am using frames and in the frame properties I have ticked

> "When
> > needed" for scroll bars.
> >
> > If I remove the DOCTYPE statement, the page displays perfectly.
> >
> > Any help is much appreciated.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a div with scroll bars - can we get the scroll bars on the left instead of the right side? UJ Microsoft ASP .NET 1 1st Nov 2006 09:32 PM
Help! Scroll Bars Scroll Down More Than One Page Shelly Faulk Windows XP Help 2 23rd Nov 2003 07:21 PM
Help! Scroll Bars Scroll Down More Than One Page Shelly Faulk Windows XP General 1 23rd Nov 2003 05:12 PM
Re: Scroll Bars in Outlook don't scroll? Help! Diane Poremsky [MVP] Microsoft Outlook Discussion 0 20th Aug 2003 04:31 AM
Scroll Bars in Outlook don't scroll? Help! Chris Archer Microsoft Outlook 0 20th Aug 2003 01:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 PM.