Main Topics
Browse All Topicsi currently use iframes on my website layout.
but i seem to have problems w/the iframes when others go to my site.
the problem arises mostly with mac & people that have a screen res of less than 1024x768
the layout is not the same as it is on my computer.
is there any type of script or html code that i can use to avoid this problem??
thank you
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hi xrockstarchickx,
What i suggest u is to design your site to 800 x 600 resolution and bind the whole page in a table with fixed width. When u
use iframes u need to specify the width in pixels (only if u want it to cross browser capatible page). Also align the page to center even if your page is viewed in higher resolution u will find only white space.
I am illustrating the same below :
sample.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="Sai Prasad Moorthygari">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<div align="center">
<TABLE width= "780" border="1" cellpadding="0" cellspacing="0">
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
</TR>
<TR>
<TD> </TD>
<TD><iframe width="200" height="300" src="test.htm"></iframe></
<TD> </TD>
</TR>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
</TR>
</TABLE>
</BODY>
</HTML>
test.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="Sai Prasad Moorthygari">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<h1> hello </h1><BR><BR><BR><BR><BR><
</BODY>
</HTML>
This should solve the problem
Thanks
here is the link to my website i hope this helps
http://www.rockstarchick.c
thanks
j
Hi rockstarchick,
You could check the screen's dimensions and redirect the user to an appropriate page. For example:
<script language='javascript' type='text/javascript'>
if (screen.width == '800')
window.location = 'my600x800page.html';
</script>
The above implies that you create a separate page for the different user environments.
Vinny
You shouldn't redirect people based on their screen resolution...
(1) You can't detect it reliably
(2) Even if you do detect it, its irrelevent - its window size that counts. For example, my resolution is 2624x1200 - but my browser window is usually about 780px wide.
(3) It means you have to create multiple versions of the same content, which is a waste of time.
Just design pages so they adapt to the window.
hi xrockstarchickx,
I have viewed the site at 800 x 600 resolution and also at 1024*768. It looks good in 1024 * 768 resoultion but in 800 x 600 resolution, what i observe is that the advertizements and tagboard text boxes are over lapping each other and resulting in poor visibility.
It appears that u have desinged your site to appear best at 1024 * 768 resolution. But what i suggest you is to redesign your page to appear good in 800* 600. This ensures that your pages looks good at any higher resolution than 800 * 600. Also avoid using layers or css to position the text on the page. I prefer to use tables because they ensure that the page is in tact in many browsers.
Please redesign your page on the template which I gave earlier in sample.htm . I am sure your will get the desired results.
Thanks
you should also know that only MS Internet Explorer (v3 and up), Netscape (v6 and up) and a few others support IFrames.
(see the chart at Webmonkey: http://hotwired.lycos.com/
Business Accounts
Answer for Membership
by: pstavrinidesPosted on 2003-09-01 at 23:03:06ID: 9265133
send us the url of the web page so we can take a look at it