iframe scrolling=NO, div inside style=overflow:auto ?

M

Mel

i have my iframe scrolling="no", but a div inside the html code has
style=overflow:auto

and i don't see no scrollbar

is it natural ?
 
S

Steve Pugh

Mel said:
i have my iframe scrolling="no", but a div inside the html code has
style=overflow:auto

Does the div have a height set? overflow: auto; only produces a
scrollbar for the div if the div's content is longer than the
specified height of the div. If there is no specified height then the
div grow to fit its content and never show a scrollbar. That is
totallu unaffected by whether the div is inside an iframe or not.
and i don't see no scrollbar

On the div or on the iframe?
is it natural ?

Almost certainly not.

Steve
 
T

the idiot

Steve Pugh said:
Does the div have a height set? overflow: auto; only produces a
scrollbar for the div if the div's content is longer than the
specified height of the div. If there is no specified height then the
div grow to fit its content and never show a scrollbar. That is
totallu unaffected by whether the div is inside an iframe or not.


On the div or on the iframe?


Almost certainly not.
why would you put a scrolling div inside an iframe? i thought scrolling divs
were to be used instead of iframes..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top