Forums

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

Home Forums CSS [Solved] links that wrap over two lines

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #174948
    Juc1
    Participant

    Hi all,

    I want to write a list of links like this ie where some links (highlighted in red) wrap over two lines. So if the space of the container allows, “New” would be on the first line and “York” would be on the second line ie rather than both words being pushed to the second line.

    On my test page – the links are floated left – the first line has room for “New” but it is being pushed down to the second line.

    Any ideas please?

    Thanks…

    #174955
    Juc1
    Participant

    @ MattDiMu awesome thanks – I had assumed it was something more complicated! I can’t remember now why I used float:left – maybe because I started off using an unordered list. Anyway would you say that an unordered list is unsuitable for doing this ?

    Thanks…

    #175172
    Juc1
    Participant

    @ MattDiMu and wolfcry911 – ok here it is as an unordered list.

    Thanks for your help :)

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