OT: iframe scrolling

2006-07-06 Thread Brad Wood
I've got a small issue with an iframe which wants to scroll horizontally on me. A working test example is at http://bradwood.com/test.cfm (At least it works on IE 6.0) The content of the iframe is only a few words wide, but when it gets tall enough to demand a vertical scroll bar, I get

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
Can anyone tell me why IE tries to scroll both ways ONLY when there is a doctype present in the framed page? I'm not sure why the doctype has an effect or then that it does make IE or standards compliant, so maybe when the IE can parse the document is quirks mode it has a different behavior.

RE: iframe scrolling

2006-07-06 Thread Brad Wood
: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 11:36 AM To: CF-Talk Subject: RE: iframe scrolling Can anyone tell me why IE tries to scroll both ways ONLY when there is a doctype present in the framed page? I'm not sure why the doctype has an effect or then that it does make IE

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
Thanks for the suggestions, Ian. There should be an abundance of horizontal space in the iframe, but I was thinking the same thing you said, so as a test earlier I put the content in a div with a width of 95% and there was no change in the behavior. :( ~Brad Does that horizontal scroll

RE: iframe scrolling

2006-07-06 Thread Brad Wood
really there. ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 11:52 AM To: CF-Talk Subject: RE: iframe scrolling Thanks for the suggestions, Ian. There should be an abundance of horizontal space in the iframe, but I was thinking the same

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
Here is the CSS I use on a DHTML popup div that only scrolls vertically in IE. It is based on DIV's and DL's not IFRAME's so I do not know if it will help or not. But the if you look at the width of the basic div (div#defList) is 300px and the width of the dl inside it (div#defList dl) is

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
It is like IE is making up a div or something which isn't really there. ~Brad Well with an Iframe you have an entire html and body container inside the Iframe control do you not? I do not use iframes very often so I am not fully cognizant on its peculiarities. But I would guess that IE is

RE: iframe scrolling

2006-07-06 Thread Sandra Clark
://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 1:00 PM To: CF-Talk Subject: RE: iframe scrolling Here is the CSS I use on a DHTML popup div that only scrolls vertically in IE

Re: iframe scrolling

2006-07-06 Thread Josh Nathanson
situation. You can play around with the class and see what results you get. -- Josh - Original Message - From: Brad Wood [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 06, 2006 10:03 AM Subject: RE: iframe scrolling It actually scrolls about a quarter

Re: iframe scrolling

2006-07-06 Thread Rob Wilkerson
What doctype are you using? In XTHML strict or transitional, IE behaves differently. The 1/4 scroll is indicative of the horizontal scrollbar compensating for the presence of the vertical scrollbar. The scrolling distance is approximately the size of the vertical scrollbar, right? On 7/6/06,

RE: iframe scrolling

2006-07-06 Thread Brad Wood
, but they didn't seems to make a difference. ~Brad -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 12:28 PM To: CF-Talk Subject: Re: iframe scrolling What doctype are you using? In XTHML strict or transitional, IE behaves differently. The 1/4 scroll

Re: iframe scrolling

2006-07-06 Thread Rob Wilkerson
-Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 12:28 PM To: CF-Talk Subject: Re: iframe scrolling What doctype are you using? In XTHML strict or transitional, IE behaves differently. The 1/4 scroll is indicative of the horizontal

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
For the example I provided this is the doctype !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
Its a really bad idea to mix absolute (pixels) and relative (em's and percentages) values. Use one or the other, (you can use em's and percentages together, because 1 em = 100% of the user's base font size). Also if you are using absolute positioning to bring your div#defList to an offset of

RE: iframe scrolling

2006-07-06 Thread Sandra Clark
Sheets and Accessibility CSS HANDS ON New York City, October 10-13, 2006. http://www.shayna.com/index.cfm?fuseaction=training.syllabus_displayid=1 -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 1:35 PM To: CF-Talk Subject: RE: iframe scrolling

RE: iframe scrolling

2006-07-06 Thread Sandra Clark
The reason it is bad to mix is when people who can't see your typeface decide to increase the font size in their browser (and a lot of us do that when the font size is too small), that a mixture of absolute values and relative values don't work well to keep your layout relative to the font size.

RE: iframe scrolling

2006-07-06 Thread Ian Skinner
I gave you the answer already. (a long with other stuff you didn't ask for, but will probably make your CSS life a lot easier in the long run). To paraphrase set overflow:scroll to overflow:auto Well actually, you gave ME a long answer to why my CSS was bad, but I was a reply to the original

RE: iframe scrolling

2006-07-06 Thread Brad Wood
-Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 12:53 PM To: CF-Talk Subject: RE: iframe scrolling I gave you the answer already. (a long with other stuff you didn't ask for, but will probably make your CSS life a lot easier in the long run

RE: iframe scrolling

2006-07-06 Thread Sandra Clark
=training.syllabus_displayid=1 -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 2:04 PM To: CF-Talk Subject: RE: iframe scrolling I gave you the answer already. (a long with other stuff you didn't ask for, but will probably make your CSS life a lot easier in the long

Re: iframe scrolling

2006-07-06 Thread Gareth
to avoid scroll bars altogther. BTW, the resizing is dynamic so if the source changes so does the height of the frame. - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 06, 2006 5:35 PM Subject: RE: iframe scrolling Can anyone

Re: iframe scrolling

2006-07-06 Thread Gareth
Err, forgot something me thinks: http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 06, 2006 5:35 PM Subject: RE: iframe scrolling Can anyone tell me why IE

RE: iframe scrolling

2006-07-06 Thread Brad Wood
Well actually, you gave ME a long answer to why my CSS was bad, but I was a reply to the original poster, and I gave an example of the CSS that is working in an application I have built for my intranet. Brad Wood has not posted any CSS that he may or may not be using, so your answer could be a

RE: iframe scrolling

2006-07-06 Thread Brad Wood
1:15 PM To: CF-Talk Subject: Re: iframe scrolling Someone recently pointed me to this nice little piece of JS which automatically sets the height of an iframe to exactly accomodate the source content. AFAIK it only correctly resizes the frame if the source page is local (from same site

RE: iframe scrolling

2006-07-06 Thread Sandra Clark
Wood [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 2:18 PM To: CF-Talk Subject: RE: iframe scrolling Well actually, you gave ME a long answer to why my CSS was bad, but I was a reply to the original poster, and I gave an example of the CSS that is working in an application I have built

RE: iframe scrolling

2006-07-06 Thread Brad Wood
-Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 1:39 PM To: CF-Talk Subject: RE: iframe scrolling Its your doctype, you are in undefined mode in IE. when I had Topstyle insert the doctype it seems to work fine in IE (keep it on one line and make

RE: iframe scrolling

2006-07-06 Thread Snake
Different doctypes will produce different results. Try reading this. http://www.alistapart.com/stories/doctype/ - Snake -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: 06 July 2006 19:55 To: CF-Talk Subject: RE: iframe scrolling Yeah, I mentioned that in my