-
iframes scrolling
ok i know you can disable scroll bars in you iframes but what if you only want to disable the horizontal one?
i have tried using <body style="overflow-x: hidden"> in the page it is linking to but with no luck - any ideas?
p.s. im pretty useless at css and javascript so dont tell me lots of jargon lol
please tell me if it can be done - ckenneh
-
-
he only wants one of them
-
Don't think you can disable just one.
-
yep only the horizontal one (bottom)
-
wouldnt ity be
width="100%"
Then it wouldnt scroll....
-
If you put width="100%" the iFrame would be the size of the page your putting the iFrame on OR the size of the table you putting the iFrame in. It will fill its complete width. The contents inside would cause the horizantal scroll bars the appear if its contents are to large.
To my knowledge, it isn't possible. Some internet language nerds might know.
-
width="100%"
means that the width will only be 100% of the table you've put the iframe in, not creating horizontal scrollbars
-
you don't know what your on about. if you put the term 'width="100%"' inside an iframe it will make the width of the iFrame as big as it can possibly be. It would cover your entire page's width and its size would change when you resize your browsers window. If its in a table then it will reach the tables size. aka <table size="500"...<tr><td... then inside <iframe width="100%" it will make the iFrame 500 pixels in width, covering all of what it can be in size.
-
Code:
<iframe name="main" width="100%" height="100%" frameborder="0" allowtransparency="true" src="home.php"></iframe>
That's mine, mine doesnt have a horizontal scrollbar