quick iframe question
- Started
- Last post
- 11 Responses
- unknown
I'm wondering the 'rules' of iframes - I want an iframe 125 pix wide and only to scroll vertically, I have scrolling set to = "auto" the thing I'm wondering is - I'm having to make sure my content is 110px wide otherwise I get a horiz scroller... yet here at NT the iframes fit real tight???
- unknown0
set the table width inside of the frame a little smaller than the 125...
- unknown0
but I'm having to make it 110 or less else I'm getting scrollbars... the iframe is 125px
???
- sp0
Try width="100%".
Also, have you tried not using tables, but instead using div?
- unknown0
i think you have to take into consideration the scrollbar, it'll push over the content, making the page scroll horizontal...
- Lychee0
even if you put the good pixel, it might works in your browser but not works in another one. It mess. I have a love / hate relation with iframe.
My iframes just look ugly in Mac.
- sp0
Why not just take a peek at the NT code and see how it works?
Yea, keep in mind that Iframes preform drastically different on all systems. Linux can boggle up sizes and scroll bars - since Mozilla, Galeon and Konqueror use standard OS style scrollbars, buttons and form fields...
:)
- unknown0
I'll try 100%... I was trying to avoid div's because I want to put three iframes inside a div which is already nested inside another and I thought nesting too many divs wasn't a good idea, but I may well try that.
- sp0
You should be able to nest unlimited numbers of divs - as long as the style is well formed.
- unknown0
I'm looking through here and its just scrolling="auto" and the width is set to 190 and all is snug, thats whats strange, its not working for me - bah
maybe divs it is
thanks :)
- unknown0
100% did it! thanks shawn - you win a warm glowy "good deed" feeling, yours to keep for as long as it lasts.
;)
- sp0
I will treasure it always.
:)