I’m new to web design and have a basic question. I’m using the Magazine child theme and have embedded a widget (http://www.screenaustralia.gov.au/widgets/research/) into my site (http://picha.com.au/) by placing the code in a text widget in the primary sidebar. However, the widget is 230px wide and the sidebar requires 250px, leaving a gap on the right hand side. How do I centre the widget rather than have it align hard left as it is currently?
You need to change the 250px in both places back to 230px then center the entire code. An example, which you should be able to copy and paste is below:
<center><iframe width="230" scrolling="No" height="410" frameborder="0" seamless="seamless" allowtransparency="true" style="border:none; overflow:hidden; width:230px; height:410px;" id="sawresearch1" marginheight="0" marginwidth="0" name="sawresearch1" src="http://www.screenaustralia.gov.au/widgets/research/sa-research-widget-external.aspx"></iframe></center>/html
Thanks so much!
The topic ‘Trying to centre widget’ is closed to new replies.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.