centering an iframe
-
This is driving me nuts.
I have added code for an iframe and all I want to do is align it in the middle of my post <iframe align=center> does not seem to work, neither does this code:
<div align=”center”>
<table width=”80%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td align=center><iframe height=’400px’ width=’250px’ name=’zoho-Leads’ frameborder=’0′ allowtransparency=’true’ scrolling=’auto’ src=’https://creator.zoho.com/headstudioscrm/video-brief/form-embed/Leads/’></iframe></td>
</tr>
</table>
</div>As you can see I have done everything possible, centered the div, created a table with a centered <td> and yet the iframe still sits to the left of the table making the whole thing look stupid.
Any ideas?
- The topic ‘centering an iframe’ is closed to new replies.