karmacriminal Posted July 21, 2003 Posted July 21, 2003 What is the trick to getting a IFRAME to stay stationary? In other words, I do not want tthe Iframes to move around (left to right) when the browser is readjusted. Any ideas? Quote
TCH-Sales Posted July 21, 2003 Posted July 21, 2003 Could you show us an example of what you mean? Quote
TCH-JimE Posted July 21, 2003 Posted July 21, 2003 Hi, From what you have said, I am guessing they are in a table or a layer where the width is a % of the screen. You will either need to use a static amount or use absolute positioning with CSS. Iframes is not really recommended now with CSS around. Jim Quote
Digirunt Posted July 22, 2003 Posted July 22, 2003 You could use transparent spacer gifs in the columns to the left of it to stop the left column collapsing. Then use relative attributes and the rest of your page will Dance about and the I-frame won't have any where to go. Takes some experimenting though. jimuni's right tho, I gave up using I-frames in my on going quest for ultimate accessibility after realising netscape doesn't like relatively sized I-frames. Sometimes design can overlook functionality and you end up with a site thats pure eye candy and has no real content or purpose. Check out http://www.netmechanic.com/toolbox/html-code.htm for a browser compatibilty check first and see if enough of your visitors can use your site. Look at TCH site, simple, functional and oh how popular. I'd sacrifice one "mmm nice site" email for a thousand hits with no complaints. Thumbs Up Rock Sign Quote
Magenta Posted August 3, 2003 Posted August 3, 2003 I have an iframes page feel free to check out the source code =) it may help ya out. if you'd like I can send in the main iframe code http://dollicious.com/Magenta3/index.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.