View Full Version : Resolutions, Tables and IFrames


erieko
03-21-2005, 01:53 AM
hi! i've tried searching up more information on the above problem, but can't seem to pinpoint one similar to what i need :( so here's why i'm posting-

on different resolutions, the main table cuts off certain pictures on the right side of the page. what should i do to prevent this? i read somewhere that i should use percentages instead of px/pts. i tried dabbling with it, but the bigger the resolution, the further away the iframe/table is from the right side pictures.

also, i'm not sure if i should insert a table to 'contain' my iframe in the first place, or just use div layers/absolute positioning..

i'm quite a beginner so please advise! >___<
thanks!

Code:-


<div id="mainbg" style="position:absolute; right:-10; top:-11px">
<img src="banner3.jpg"></div>
<table width=700 height=750 style="position:absolute; left:30; top:35">
<td align="left" width="505" valign="top">

<IFRAME name="inlineframe" width=650 height=550 border=0 frameborder=0 scrolling="auto" framespacing=0 src="news.html" target="_self"></iframe>

<tr>
<td align="right" width="505" valign="top">
&nbsp;<a href="news.html" target="inlineframe">Home</a>

MaGiCSuN
03-21-2005, 03:15 PM
probably because you use for the image negative values for the absolute positioning part. Try using positive values for both :)

absolute positioning should position it on the same spot in each resolution (doesn't mean that in one resolution the space is the same, since the bigger the resolution, the smaller the amount of space will be (it's like zooming out in a picture, the more you zoom out, the smaller the picture will be but the picture WILL stay the same size all the time))

if you are still unsure, post a link to the page you are having troubles with :)

Love,
Mirna