PDA

View Full Version : Scrollbars


Camel_Booter
04-07-2003, 06:48 AM
How do i make my inline frame have Vertical scrollbars and no horizontal scrollbars!!!
Thanks for your help!!;)

cg9com
04-07-2003, 07:14 AM
<iframe style="overflow-x:hidden;">

or

<style type="text/css">
iframe {overflow-x:hidden;}
</style>

the first option will effect only the selected iframe while the second will effect all.

Camel_Booter
04-07-2003, 10:32 AM
Well I put the code in and nothing dont work... I guess i put it in the wrong spot.....Where do i put the code......The page that the IFrame is on or oh the page of the I frame....

I'm a n00b please forgive me!!!

Eddyd84
04-07-2003, 11:36 AM
the <style>...</style> tags go in between the <head>...</head> tags. You can add style="..." to your current iframe.
I hope this helps.
Peace,
Ed

ronaldb66
04-07-2003, 12:16 PM
Alternative to the original question:

If the contents fit the available space (horizontally, anyway), no horizontal scrollbar will appear. Disabling scrollbars when they actually are needed disables visitors to see all of the content and should therefore be avoided. Apart from that, overflow-x and overflow-y are no standard properties but MS proprietary.

Camel_Booter
04-07-2003, 04:07 PM
:confused example (http://www.geocities.com/camel_booter/links.htm) Well this is the link that i am trying to do this to.
The iframe page is a post a link from bravenet and i can only edit the text color and bg image.
You might have already answered my question but it didnt work for me or i'm just a dumb ***...............

Me while working on my web site :) :thumbsup: :D :eek: :confused: :mad:example (http://www.geocities.com/camel_booter/links.htm)

Mysticcal
04-07-2003, 05:08 PM
the banner and the divider seem to be effecting the side scroll if you could resize them it would probably work but that is just my guess

zoobie
04-07-2003, 07:11 PM
I think you'll have to do some redesigning. When I came into the example, I saw your iframe...but it was so long lengthwise, I had no idea about the horiz scrollbar at the bottom and it just looked like a poorly designed site. :D

cg9com
04-07-2003, 09:40 PM
Originally posted by ronaldb66
overflow-x and overflow-y are no standard properties but MS proprietary.
I didnt know that, i never use it. :eek:

brothercake
04-07-2003, 09:48 PM
Originally posted by ronaldb66
Apart from that, overflow-x and overflow-y are no standard properties but MS proprietary.
They're proposed for CSS3 - http://www.w3.org/TR/css3-ui/#overflow-x

Camel_Booter
04-08-2003, 12:34 AM
Originally posted by Mysticcal
the banner and the divider seem to be effecting the side scroll if you could resize them it would probably work but that is just my guess
Like I said I cant edit the page in the iframe I guess i'll do it another way..I just thought that I could do someing with it
oh yeah Thanks for the encouraging words Zoobie Your a great help!!!!