Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Mediawiki – stop a nav box extending so that users don’t have to scroll LTR

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43466
    StampStudy
    Member

    I run a mediawiki website and we are trying to implement a new navbox template taken from wikipedia.

    I have installed the templates and populated one as a test – the issue I am having is that the template output does not stay within the page. This forces users to scroll to the right to see any long lists. I have tried to look at the css using firebug without much luck.

    Any advice ?

    Link to page with navbox and the scrolling issue. [SOTW Template…](http://www.stampsoftheworld.co.uk/wiki/Template:AllCountries “Stampsofthworld”)
    Drew

    #128619
    Paulie_D
    Member

    The simplest answer would be not to use a table but I guess that’s out of the question?

    #128139
    CrocoDillon
    Participant

    .hlist dd, .hlist dt, .hlist li {
    white-space: nowrap;
    }

    That’s from styles in load.php, remove it for starters. A more elegant solution imho would be to add white space between each `li`, so they wrap naturally.

  • Afghanistan
  • Aitutaki

    would become

  • Afghanistan
  • Aitutaki
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.