Forum Moderators: open

Message Too Old, No Replies

disable iframe vert. scroll without using 'scrolling=no"

iframe scrolling

         

doppelt

4:45 am on Oct 29, 2014 (gmt 0)

10+ Year Member




Hi

I have tried everything I can see on the net, yet I cannot disable vertical scroll bars on iframes.

I can easily do it with 'scrolling=no' attribute
but it will not validate with W3C under html5

I know, I know, who cares about W3C

I do
I am anal and I like them to validate.

I have spent days searching the web
, have tried css, java, no luck

its not just the vert. scroll that won't validate but also the marginheight="0" marginwidth="0"
that causes issues but I removed them and it still displays almost correctly.

If there is a fix for this, please, I am not an expert, I am an old html guy, not css

I need to know what to put in the html on the page and what to put in my external css
style page

or whatever is needed


If this is a problem for everyone, I do not see why W3C has deprecated that attribute

or is it the html5 people?

I am clueless

thanks

phranque

6:32 am on Oct 29, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, doppelt!


perhaps you could use this somewhere:
overflow: hidden;

lucy24

7:56 am on Oct 29, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I can easily do it with 'scrolling=no' attribute

Are you setting this in the html itself? Doesn't it rather belong in the CSS? Just to confuse you, the property is listed under "overflow", not "scrolling" where you'd expect to find it.

CSS3 has separated the single "overflow" property into "overflow-x" and "overflow-y", which sounds like the distinction you're trying to make.

I initially thought the people working on the CSS3 box model must have had a big fight, because the last docs [w3.org] I can find date from 2007. Looks like "overflow" [w3.org] has been spun-off to a new group and they just haven't sorted out the documentation yet.

doppelt

1:01 pm on Oct 29, 2014 (gmt 0)

10+ Year Member



I have tried some of these thing, no luck

again, I need to know what I put in the html and what I put in the style sheet

thanks

lucy24

6:23 pm on Oct 29, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have tried some of these thing

Well, why don't you come back when (a) you have tried all of these things and (b) you can describe exactly what happens in each case

I need to know

I daresay, but this is the wrong forum. WebmasterWorld tends to prefer that you show us what you've got so far, and then people can point you in the right direction. If you want a cut-and-paste solution you might try That Other Forum. They're generally correct; it's just a different approach.

what I put in the html

You don't put anything in the html. That's the point.