making nowrap work when width is ignored

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • foldface@yahoo.co.uk

    making nowrap work when width is ignored

    Hi
    In the example below on a normal size screen everything looks the
    way
    you would think it would (on IE6). My problem is what happens when I
    add
    more entries into the table (equivilent here to making the IE window
    smaller)

    - If you make the window smaller then the first column text starts to
    wrap, which I don't want
    - If you remove the width part, which gets ignored anyway, then the
    text
    no longer wraps and a scrollbar appears, which is what I want.

    The problem is that I do want to set the width of the first column,
    but
    I want the rest of the table to be as small and fitted as possible

    Any ideas?

    Ta
    F

    <style>
    ..Bob
    {
    white-space: nowrap;
    width: 500;
    }
    ..Sue
    {
    white-space: nowrap;
    }
    </style>
    <table>
    <tr>
    <td class=Bob>Some random text </td>
    <td class=Sue>Some random text </td>
    <td class=Sue>Some random text </td>
    <td class=Sue>Some random text </td>
    <td class=Sue>Some random text </td>
    </tr>
    </table>
  • Toby Inkster

    #2
    Re: making nowrap work when width is ignored

    foldface wrote:
    [color=blue]
    > width: 500;[/color]

    500 what? 500 hobnobs? My screen is only 6.8 hobnobs wide.

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me ~ http://tobyinkster.co.uk/contact

    Comment

    • Els

      #3
      Re: making nowrap work when width is ignored

      Toby Inkster wrote:
      [color=blue]
      > foldface wrote:
      >[color=green]
      >> width: 500;[/color]
      >
      > 500 what? 500 hobnobs? My screen is only 6.8 hobnobs wide.[/color]

      Flat or sideways?

      --
      Els
      Blog and other pages, mostly outdated.

      Sonhos vem. Sonhos vão. O resto é imperfeito.
      - Renato Russo -

      Comment

      • Toby Inkster

        #4
        Re: making nowrap work when width is ignored

        Els wrote:[color=blue]
        > Toby Inkster wrote:
        >[color=green]
        >> My screen is only 6.8 hobnobs wide.[/color]
        >
        > Flat or sideways?[/color]

        Flat obviously. According to the McVities CSS 2.2 spec, measurements
        specified using the hobnob unit should always be made against plain
        hobnobs held flat against the monitor. (Chocolate coated hobnobs make
        your screen all dirty.)

        --
        Toby A Inkster BSc (Hons) ARCS
        Contact Me ~ http://tobyinkster.co.uk/contact

        Comment

        • Els

          #5
          Re: making nowrap work when width is ignored

          Toby Inkster wrote:
          [color=blue]
          > Els wrote:[color=green]
          >> Toby Inkster wrote:
          >>[color=darkred]
          >>> My screen is only 6.8 hobnobs wide.[/color]
          >>
          >> Flat or sideways?[/color]
          >
          > Flat obviously. According to the McVities CSS 2.2 spec,
          > measurements specified using the hobnob unit should always
          > be made against plain hobnobs held flat against the
          > monitor. (Chocolate coated hobnobs make your screen all
          > dirty.)[/color]

          Your screen is about half a hobnob wider than mine then :-(

          If anyone would like to know exact measurements, please send a
          pack of plain hobnobs to the address in the whois for my site.
          (And a pack of chocolate ones to convince me to post the results
          ;-) )

          --
          Els http://locusmeus.com/
          Sonhos vem. Sonhos vão. O resto é imperfeito.
          - Renato Russo -
          Now playing: Ellen Foley - We belong to the night

          Comment

          • Phil Evans

            #6
            Re: making nowrap work when width is ignored

            Toby Inkster wrote:[color=blue]
            > Els wrote:
            >[color=green]
            >>Toby Inkster wrote:
            >>[color=darkred]
            >>>My screen is only 6.8 hobnobs wide.[/color]
            >>
            >>Flat or sideways?[/color]
            >
            > Flat obviously. According to the McVities CSS 2.2 spec, measurements
            > specified using the hobnob unit should always be made against plain
            > hobnobs held flat against the monitor. (Chocolate coated hobnobs make
            > your screen all dirty.)[/color]

            It's worth noting that the use of hobnob units can impede keyboard
            navigation, snice the crumbs get stuck in the keys whilst measuring

            P

            Comment

            • Els

              #7
              Re: making nowrap work when width is ignored

              Phil Evans wrote:
              [color=blue]
              > Toby Inkster wrote:[color=green]
              >> Els wrote:
              >>[color=darkred]
              >>>Toby Inkster wrote:
              >>>
              >>>>My screen is only 6.8 hobnobs wide.
              >>>
              >>>Flat or sideways?[/color]
              >>
              >> Flat obviously. According to the McVities CSS 2.2 spec,
              >> measurements specified using the hobnob unit should always
              >> be made against plain hobnobs held flat against the
              >> monitor. (Chocolate coated hobnobs make your screen all
              >> dirty.)[/color]
              >
              > It's worth noting that the use of hobnob units can impede
              > keyboard navigation, snice the crumbs get stuck in the keys
              > whilst measuring[/color]

              Only if your keyboard is situated directly in front of your
              screen, which isn't the right place. You'd end up with either
              repetitive strain injury, or too much radiation, not too mention
              bad eyesight.

              --
              Els http://locusmeus.com/
              Sonhos vem. Sonhos vão. O resto é imperfeito.
              - Renato Russo -
              Now playing: Sweet - Fox on the Run

              Comment

              • Toby Inkster

                #8
                Re: making nowrap work when width is ignored

                Els wrote:
                [color=blue]
                > Only if your keyboard is situated directly in front of your
                > screen, which isn't the right place.[/color]

                True. I have my screen on the desk in front of me, the mouse on the desk
                as well, and the keyboard is in Bangladesh.

                --
                Toby A Inkster BSc (Hons) ARCS
                Contact Me ~ http://tobyinkster.co.uk/contact

                Comment

                • Els

                  #9
                  Re: making nowrap work when width is ignored

                  Toby Inkster wrote:
                  [color=blue]
                  > Els wrote:
                  >[color=green]
                  >> Only if your keyboard is situated directly in front of
                  >> your screen, which isn't the right place.[/color]
                  >
                  > True. I have my screen on the desk in front of me, the
                  > mouse on the desk as well, and the keyboard is in
                  > Bangladesh.[/color]

                  Sounds perfect :-)
                  Do you ghost-write your scripts and messages?

                  --
                  Els http://locusmeus.com/
                  Sonhos vem. Sonhos vão. O resto é imperfeito.
                  - Renato Russo -
                  Now playing: Duran - Ordinary World

                  Comment

                  • Toby Inkster

                    #10
                    Re: making nowrap work when width is ignored

                    Els wrote:[color=blue]
                    > Toby Inkster wrote:
                    >[color=green]
                    >> I have my screen on the desk in front of me, the
                    >> mouse on the desk as well, and the keyboard is in
                    >> Bangladesh.[/color]
                    >
                    > Do you ghost-write your scripts and messages?[/color]

                    I use my mouse to copy and paste messages one character at a time. Unlike
                    Windows, X11 has sensible mouse-only copy and pasting, so I can sometimes
                    do up to six words per minute!

                    --
                    Toby A Inkster BSc (Hons) ARCS
                    Contact Me ~ http://tobyinkster.co.uk/contact

                    Comment

                    • Els

                      #11
                      Re: making nowrap work when width is ignored

                      Toby Inkster wrote:
                      [color=blue]
                      > Els wrote:[color=green]
                      >> Toby Inkster wrote:
                      >>[color=darkred]
                      >>> I have my screen on the desk in front of me, the
                      >>> mouse on the desk as well, and the keyboard is in
                      >>> Bangladesh.[/color]
                      >>
                      >> Do you ghost-write your scripts and messages?[/color]
                      >
                      > I use my mouse to copy and paste messages one character at
                      > a time. Unlike Windows, X11 has sensible mouse-only copy
                      > and pasting, so I can sometimes do up to six words per
                      > minute![/color]

                      Excellent!

                      But I think I have a faster way for you:
                      Get on MSN with audio, and dictate the words to the person that
                      has your keyboard in front of him/her.

                      Provided they have a pc to actually activate MSN of course.
                      Else it would get pretty expensive using regular telephone :\

                      --
                      Els http://locusmeus.com/
                      Sonhos vem. Sonhos vão. O resto é imperfeito.
                      - Renato Russo -
                      Now playing: Outfield - Your Love

                      Comment

                      • Toby Inkster

                        #12
                        Re: making nowrap work when width is ignored

                        Els wrote:
                        [color=blue]
                        > Get on MSN with audio, and dictate the words to the person that
                        > has your keyboard in front of him/her.[/color]

                        The keyboard's not plugged in though. Do you really think the wire would
                        be long enough? Tch!

                        --
                        Toby A Inkster BSc (Hons) ARCS
                        Contact Me ~ http://tobyinkster.co.uk/contact

                        Comment

                        • Els

                          #13
                          Re: making nowrap work when width is ignored

                          Toby Inkster wrote:
                          [color=blue]
                          > Els wrote:
                          >[color=green]
                          >> Get on MSN with audio, and dictate the words to the person
                          >> that has your keyboard in front of him/her.[/color]
                          >
                          > The keyboard's not plugged in though. Do you really think
                          > the wire would be long enough? Tch![/color]

                          No VPN?

                          --
                          Els http://locusmeus.com/
                          Sonhos vem. Sonhos vão. O resto é imperfeito.
                          - Renato Russo -
                          Now playing: Phil Collins - In the Air Tonight

                          Comment

                          Working...