PDA

View Full Version : Bloody Iframe will not work!!!


Xencored
06-03-2010, 03:40 PM
Ok here is my code

<table width="963" border="0">
<tr>
<td height="650"><iframe frameborder="0" border=0 width="963" height=600
src="http://*******" name=iframe scrolling=yes
style="position:absolute; left: 25px; top: 25px; width: 939px; height: 632px;" allowtransparency="true"></iframe></td>
</tr>
</table>

ive tryed for hours to get it to show in the middle where i want it to but it moves all over
its 25px from the top and left of the screen not the table :(

jamesyfx
06-03-2010, 03:43 PM
You're using position:absolute which means it will ignore wherever it is and just put your iframe in the top corner of your screen. Try position:relative instead.

Xencored
06-03-2010, 03:47 PM
You're using position:absolute which means it will ignore wherever it is and just put your iframe in the top corner of your screen. Try position:relative instead.

Haha lmfao yes its one of them days :D
Thanks alot ;)

jamesyfx
06-03-2010, 03:48 PM
No problem. :] Simple fix, just change a word! Haha.