Poll bar line breaks

  • Thread starter Thread starter GilesGuthrie
  • 6 comments
  • 517 views

GilesGuthrie

Staff Emeritus
Messages
11,038
United Kingdom
Edinburgh, UK
Messages
CMDRTheDarkLord
I noticed this in a poll about uber-SUVs. The end caps of the poll bars wrap where the poll is too big for the screen. I'm guessing you need a <span> with the style containing white-space: nowrap; inserted there.

See attachment for screenie.
 

Attachments

  • Image1.jpg
    Image1.jpg
    2.1 KB · Views: 23
cardude2004
Have you tried hitting the refresh button. Maybe it didn't load correctly.

It only happens when there is a large image in the poll option. It's about the screen size. I've only just noticed it after downsizing from 1600x1200 to 1280x1024.
 
Oh. I have never seen this and I look at the weekly contest every week. Most of them have large pictures. It should just extend your web browser window so you have to scroll to the side.
 
Thanks for the heads-up, Giles, it's fixed now. :)
 
Jordan
Thanks for the heads-up, Giles, it's fixed now. :)

Ooh, monster thread-from-grave moment.

I've just noticed that it's become broken again in GTP8... If you have a look at the current weekly photography competition in 1024x768, you'll see the poll bars wrapping.

Also, as a courtesy to your non-image-enabled visitors (yes, there probably are some), and in deference to the W3C's recommendation that you have ALT text for all images, you may wish to consider writing the percentage into the ALT text for the main part of the poll bar.
 
Thanks, Giles, I got it taken care of. 👍
 
Back