Re: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread darian
I'm not quite sure what you mean... maybe this will help.

if content of a div is larger than the space provided (eg screen size
restriction, or width, height, settings) there is an overflow css
attribute to handle it.  For example overflow: hidden; hides any thing
that doesn't fix, overflow: scroll; will give the div scroll bars, and
overflow: visible; will show it usually by stretching the height of the
div.

Maybe that was completely useless, hope it helps though.

Darian


 Hi everybody...

 I'm having a terrible time trying to figure out just why IE6 (Windows
 XP) is throwing scrollbars at me when I view a page in a frame - I'm
 really not sure what the trick is to this (if there is one).  I hate to
 ask dumb or redundant questions, but this one is really nagging.

 Thanks for any advice on this...v

 Once again, this is being view in a frame...here is the gist of the CSS:

 body {
   margin: 0px;
 }
 .container {
   margin: 0px;
   padding: 0px;
   width: 100%;
 }
 .subhead1 {
   margin: 0px;
   padding: 6px 0px 0px 12px;
 }
 .subhead2 {
   margin: 0px;
   padding: 3px 12px 1px;
   height: 30px;
   border-bottom: 1px solid #99;
 }
 .content {
   margin: 0px;
   padding: 0px;
   width: 100%;
 }
 .content-pad {
   padding: 0px;
   margin: 12px;
 }
 etc...

 The makeup of the file...

 div class='container'

 div class='subhead1'Just some title text/div

 div class='subhead2'
 A table at width='100%'...
 /div

 div class='content'
 div class='content-pad'

 div class='column'
 Lots of things go in here, it varies.  Some times a table at
 width='100%'
 /div

 /div
 /div

 /div

 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 *



*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread Vaska . WSG
Yes, but it's not the overflow of the div, it's the frame itself.  The 
page is going larger than the frame window - meaning, the divs aren't 
respecting the size of the window.  Sorry if my explanation was 
confusing on that point.

;)

On 24 Mar 2004, at 09:40, [EMAIL PROTECTED] wrote:

I'm not quite sure what you mean... maybe this will help.

if content of a div is larger than the space provided (eg screen size
restriction, or width, height, settings) there is an overflow css
attribute to handle it.  For example overflow: hidden; hides any 
thing
that doesn't fix, overflow: scroll; will give the div scroll bars, 
and
overflow: visible; will show it usually by stretching the height of 
the
div.

Maybe that was completely useless, hope it helps though.

Darian
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread darian
ahhh ok ok I got ya hmmm... I noticed you haven't included any height
attributes in the CSS. Maybe if you put height: 100%; then that would
restrict the div and stop it from going larger than the window. Anyways,
you may have noticed I'm fairly new to this too :P  I used to do all this
stuff with tables apon tables, divs save a ton of code and time but they
take time to get used to.


Darian


 Yes, but it's not the overflow of the div, it's the frame itself.  The
 page is going larger than the frame window - meaning, the divs aren't
 respecting the size of the window.  Sorry if my explanation was
 confusing on that point.

 ;)

 On 24 Mar 2004, at 09:40, [EMAIL PROTECTED] wrote:

 I'm not quite sure what you mean... maybe this will help.

 if content of a div is larger than the space provided (eg screen size
 restriction, or width, height, settings) there is an overflow css
 attribute to handle it.  For example overflow: hidden; hides any
 thing
 that doesn't fix, overflow: scroll; will give the div scroll bars,
 and
 overflow: visible; will show it usually by stretching the height of
 the
 div.

 Maybe that was completely useless, hope it helps though.

 Darian

 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 *



*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread Jeff - Accessibility 1st
In the frameset you'll need to add this attribute: scrolling=no -
although it would be preferable not to use frames at all.

Cheers 

Jeff Lowder
Accessibility 1st
Website: www.accessibility1st.com.au
Blog: www.accessibility1st.com.au/journal/


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Vaska.WSG
Sent: Wednesday, 24 March 2004 7:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Scrollbars in IE6 (PC)

Yes, but it's not the overflow of the div, it's the frame itself.  The 
page is going larger than the frame window - meaning, the divs aren't 
respecting the size of the window.  Sorry if my explanation was 
confusing on that point.

;)

On 24 Mar 2004, at 09:40, [EMAIL PROTECTED] wrote:

 I'm not quite sure what you mean... maybe this will help.

 if content of a div is larger than the space provided (eg screen size
 restriction, or width, height, settings) there is an overflow css
 attribute to handle it.  For example overflow: hidden; hides any 
 thing
 that doesn't fix, overflow: scroll; will give the div scroll bars, 
 and
 overflow: visible; will show it usually by stretching the height of 
 the
 div.

 Maybe that was completely useless, hope it helps though.

 Darian

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread Peter Firminger
Hi Vaska,

Posting a link to it will really help. Without seeing the rest of the HTML
(doctype etc.) we have no idea about whether or not you are in standards
compliant mode and what else is in there. Are you using a frameset doctype.
Have you validated all your code (html and css)?

Can I ask (in the absence of seeing it) why you are using frames at all?

P


*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread Phillips, Wendy
IE6 has a bug with frames and scrollbars when the page contains an XHTML doctype 
declaration. If the content causes vertical scrollbars, IE thinks that the width of 
the scrollbar must be included in the overall width of the page and produces 
horizontal scrollbars when they are not necessary. The only way around this is to set 
scrolling=yes in the frameset, and not auto. You end up with ghost vertical scrollbars 
but there is no solution to this that I have found.

If you have an XML prologue inserted, this doesn't happen - Unfortunately, another bug 
in Internet Explorer is affected by anything that appears before the DOCTYPE and the 
browser is then sent into Quirks Mode. The ?xml prolog causes IE to miss the DOCTYPE 
declaration and therefore renders the page in a non-standards compliant way. Luckily, 
the prolog is not mandatory and can be removed and you are stuck with the first 
solution. 

I'm not interested in an anti frame discussion however I also use frames for internal 
online modules - they really don't pose as many accessibility problems as you might 
think once you institute a few things:

- correct titling and naming of frames
- correct titling of each page
- skip links to main content
- no frames content that goes to the content pages which have navigation to go from 
page to page and no need of the frames
- next and back buttons go straight to named anchors to the main content
- print button to print only the frame content and a print stylesheet to format this 
for print
- logical tabbing order
- I did have access keys but I weighed up the arguments for and against and  removed 
them

(Assistive technologies determine the content in each frame and present the user with 
a list of the frames, enabling them to select the content they wish to access, 
supplementing the use of a skip link. 

It is therefore important to use meaningful frame names in the frameset page and 
titles as the individual page titles - different technologies use either of these. It 
is easy to neglect page titles in framesets, as the page title normally displayed in 
the browser is that of the frameset page itself.)


WP


 -Original Message-
 From: Vaska.WSG [SMTP:[EMAIL PROTECTED]
 Sent: Wednesday, 24 March 2004 7:06 pm
 To:   [EMAIL PROTECTED]
 Subject:  [WSG] Scrollbars in IE6 (PC)
 
 Hi everybody...
 
 I'm having a terrible time trying to figure out just why IE6 (Windows 
 XP) is throwing scrollbars at me when I view a page in a frame - I'm 
 really not sure what the trick is to this (if there is one).  I hate to 
 ask dumb or redundant questions, but this one is really nagging.
 
 Thanks for any advice on this...v
 
 Once again, this is being view in a frame...here is the gist of the CSS:
 
 body {
   margin: 0px;
 }
 .container {
   margin: 0px;
   padding: 0px;
   width: 100%;
 }
 .subhead1 {
   margin: 0px;
   padding: 6px 0px 0px 12px;
 }
 .subhead2 {
   margin: 0px;
   padding: 3px 12px 1px;
   height: 30px;
   border-bottom: 1px solid #99;
 }
 .content {
   margin: 0px;
   padding: 0px;
   width: 100%;
 }
 .content-pad {
   padding: 0px;
   margin: 12px;
 }
 etc...
 
 The makeup of the file...
 
 div class='container'
 
 div class='subhead1'Just some title text/div
 
 div class='subhead2'
 A table at width='100%'...
 /div
 
 div class='content'
 div class='content-pad'
 
 div class='column'
 Lots of things go in here, it varies.  Some times a table at 
 width='100%'
 /div
 
 /div
 /div
 
 /div
 
 *
 The discussion list for http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 * 
 
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*



Re: [WSG] Scrollbars in IE6 (PC)

2004-03-24 Thread Martin Stender
Just from the top of my head (@ home with my Mac now); can't you just:

body {
margin: 0px;
overflow:hidden;
}
 ?
Martin
On 24/3-2004, at 9.06, Vaska.WSG wrote:

Hi everybody...

I'm having a terrible time trying to figure out just why IE6 (Windows 
XP) is throwing scrollbars at me when I view a page in a frame - I'm 
really not sure what the trick is to this (if there is one).  I hate 
to ask dumb or redundant questions, but this one is really nagging.

Thanks for any advice on this...v

Once again, this is being view in a frame...here is the gist of the 
CSS:

body {
margin: 0px;
}
.container {
margin: 0px;
padding: 0px;
width: 100%;
}
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*