Taimoor Ahmed Taimoor Ahmed - 1 year ago 72
HTML Question

How to make this iframe code responsive

Hi I want to make fix this iframe into the center between the left table and right table. I'm having trouble with making my site responsive and it appears different on different resolutions: (http://footkick.16mb.com/)

As I said, I wanted this to be bang in the center of the left and right table regardless of resolution. If you can help me out: THANKS SO MUCH

[<]iframe class="channels" src="http://www.bbc.co.uk/sport/football/fixtures" scrolling="yes" style="height: 990px; width: 619px;margin: 45px 0px 0px 115px; border:2px solid black; outline-style: solid; outline-color: green; ">


height: 990px;
width: 619px;
margin: 45px 0px 0px 115px;
border: 2px solid black;
outline-style: solid;
outline-color: green;

Answer Source

Try adding this to your CSS:

margin: 45px auto 0px;
display: block
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download