Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Aligning space code between ads
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Aligning space code between ads

 Post Reply Post Reply
Author
Paul_T View Drop Down
Groupie
Groupie
Avatar

Joined: 14 September 2010
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paul_T Quote  Post ReplyReply Direct Link To This Post Topic: Aligning space code between ads
    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? 



Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post 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 - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
Paul_T View Drop Down
Groupie
Groupie
Avatar

Joined: 14 September 2010
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paul_T Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.