How to display pages in 'center' of an iframe?
i always get it eighter to the left or to much to the right.. i want the iframe to display pages in center..
How to display pages in 'center' of an iframe?
i always get it eighter to the left or to much to the right.. i want the iframe to display pages in center..
I don't know if there is an easy way but I would try making your i-frame exactly 800px wide then ensuring that your infil page is exactly 800px wide and centred (by checking the box in the page properties). Let us know how you get on as it may help someone else :o)Originally Posted by Spetsnaz
VodaHost
Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
i ment it posible to make the iframe display pages is center?
I have just created a test page with an i-frame. The infil page was just a photograph. I made sure that the photo was jammed hard against the top left hand corner of the page it was on. I then altered the page width, in page properties, to exactly match the width of the image and checked the centre in browser box, in page properties. When I published and viewed the page - the image was exactly centred in the i-frame.Originally Posted by Spetsnaz
Okay?
VodaHost
Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
Small point, jammed up to top left is perfect but do not then ruin it by centering the page with the iframe
I recently re-did the computer help portion of my website as described by Navaldesign and found that the page that is to be contained in the I-frame should be about 775pix then stretch the I-frame to be at 800 or slightly under that. Then all pages will display centered. If the I-frame extends even a little beyond the 800pix it will cause a shift in the displayed page.
Hope that helps-
Andy
**PS- if anyone is interested, I just finished a tutorial on Navaldesigns Menu in I-Frame. It can be found at the link in my signature.
PHP- is a blast!
There are currently 1 users browsing this thread. (0 members and 1 guests)