Results 1 to 5 of 5

Thread: Alternative to nowrap

  1. #1
    Join Date
    Apr 2008
    Posts
    49

    Alternative to nowrap

    Hello!

    Is there an argument for cutting when the text is too long and that it should make a return to the line. Knowing that I do not want the location of the break is fixed in the text, since some have larger screens than others. For questions graphics, some lines should not return to the line, whatever their length. Not that we should absolutely see the whole title, but because it's a list, and if one element is two lines in a list, it does not.

  2. #2
    Join Date
    Mar 2008
    Posts
    198

    Re: Alternative to nowrap

    Traditionally we treat the following lines of one element of a list of different elements were themselves, for example, a greater spacing between the elements and a tighter spacing between the lines of the same element, a chip before the first line of each item as it follows the lines of an element has no chip ...

  3. #3
    Join Date
    May 2008
    Posts
    4,570

    Re: Alternative to nowrap

    Now, apart from this consideration, there are several approaches to a solution to your question:

    1. Manage it with CSS at the block element or <ul> <ol>, which will not necessarily be on very aesthetic line endings: letter may cut into the middle and nothing that signals a break.
    2. shorten the text of the line (PHP ...) by replacing the end with "(...)". In the CMS I use, there uen extension for that, I am not an expert in PHP ...


    Both seemed a last resort in this case.

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Alternative to nowrap

    I am far from being a graphic designer, I'm well aware.

    1 - cutting the text: yes => php or javascript

    2 - after the screen width: yes => javascript

  5. #5
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Alternative to nowrap

    white-space: nowrap

    Note that space with the replacement do not work as the browser will wrap the text after the other characters, as one after a dash ... Yes, it is a non-breaking dash too, but how long do you want to play with wordarounds incomplete?

Similar Threads

  1. Alternative for trillian
    By Bandish in forum Windows Software
    Replies: 3
    Last Post: 01-08-2009, 09:29 PM
  2. Anydvd alternative
    By advsnhal in forum Windows Software
    Replies: 3
    Last Post: 30-07-2009, 12:23 PM
  3. Alternative to MSN
    By Minitue in forum Technology & Internet
    Replies: 10
    Last Post: 14-10-2008, 07:23 PM
  4. IRC: An alternative to P2P
    By rock_ya_baby in forum Guides & Tutorials
    Replies: 27
    Last Post: 27-06-2004, 08:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,716,482,625.82747 seconds with 16 queries