Banner Displays Offset from Center (not true center)

Bug #1405411 reported by Glyn Wilson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-countdown-banner
Fix Released
Undecided
Unassigned

Bug Description

Followed your clear instructions.

Ubuntu Phone Countdown Banner displays nicely and looks good.

Only the vertical scroll appeared on my website, to the right of the banner. So easily removed this by adding a height parameter (as suggested).

But there is an alignment problem when seeking to center its position.

When centering, banner remains offset ... slightly to the LEFT of center. Looks like the vertical scroll (although now invisible) is still impacting the position of the Banner placement.

If you can fix, then your display will line up properly with all the other scripts I have installed and nicely centered.

Revision history for this message
costales (costales) wrote :

Hi Glyn!

The banner is just an image, try to click here: http://countdown.atopa.info/ and you will see it!
But, for insert in another webpage, we need to use the iframe HTML tag. Do you have an example of your page? :)

Did you try to play with the CSS or <center> HTML?:
<center><iframe style="border: none;" src="http://countdown.atopa.info/"></iframe></center>

<iframe style="float: middle; border: none;" src="http://countdown.atopa.info/"></iframe>

Please, tell me :)
Cheers!

Revision history for this message
costales (costales) wrote :

Hi Glyn! I improved the banner. Now is just AN IMAGE (not a bad iframe) :D
Is it working now for you?
http://thinkonbytes.blogspot.com.es/2014/12/ubuntu-phone-countdown-banner-for-your.html

Revision history for this message
Glyn Wilson (glynwil) wrote :

Fixed now. Nicely centered and looking good. Used the following script:

<div align="center">
<a href="http://www.ubuntu.com/phone"><img src="http://countdown.atopa.info/" alt="Ubuntu Phone Launch Event" border="0"></a>
</div>

Yes Costales ... previously, I did play with the CSS and HTML, but could not remove that left offset. It was 'almost' centered, except for that offset.

Now Okay.

Can see it on my website (scroll down to footer area, below Twitter Tweets)

www.toxictrinity.com

Enjoy your Christmas! And thank you for fast respoinse.

Revision history for this message
costales (costales) wrote :

Great Glyn! The IMG tag is a really better implementation that the previous IFRAME.
It's looking perfect in your web :D Thank you very much for including it!!! |o/
And happy Christmas and new year for you and your family!!
Cheers!

Changed in ubuntu-countdown-banner:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.