Print Page | Close Window

Aligning space code between ads

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30363
Printed Date: 31 March 2026 at 5:13am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Aligning space code between ads
Posted By: Paul_T
Subject: Aligning space code between ads
Date Posted: 10 June 2012 at 11:21am
Hi, I have recently put a double ad code into the header from the admin area of forum ads in the header part of my forum. The ad size is 336 x 280 pixels. I have added & nbsp ; (obviously keeping the code tight) between the the two ads to give that space between the ads to show them as a centered row. The ads are showing perfectly how they should be as a row on my laptop and also on my wifes iphone 3gs but they show as a centered column when viewing on my iphone 4s. Have I got the code right? or is there some kind of quirk with the 4S? 

My forum is http://www.wongaforum.com" rel="nofollow - http://www.wongaforum.com




-------------
http://www.wongaforum.com" rel="nofollow - Wongaforum.com



Replies:
Posted By: Scotty32
Date Posted: 12 June 2012 at 10:18am
Do you mean the adverts appear one above the other? rather than side by side?

This would be because the screen on an iPhone is small, and as your forum's width is flexible, (I.E size relates to the browser size) it will push the 2nd advert onto a new row.
You can see it on a desktop by making your browser window smaller in width until the advert is pushed to a new line.

To fix it, simply put them into a fixed size table with each advert in a different cell. Make sure the width of your table is the correct size for both adverts (ie ad size x 2). This will make the minimum width of your forum the size of the adverts and stop the adverts being pushed onto a new row


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: Paul_T
Date Posted: 12 June 2012 at 6:39pm
Do you mean the adverts appear one above the other? rather than side by side?

Hi Scotty, yes, but I have taken your expert advice, just had a crash course on tables and got it right.

It's showing perfectly now on my iphone 4s, thanks for the valued advice.

Best regards,

Paul.


-------------
http://www.wongaforum.com" rel="nofollow - Wongaforum.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net