• word wrap in frames (FP2002)

    Author
    Topic
    #394002

    I’m using FP navigation to place links in the left frame of a web site and the title for one of the links is 35 characters long (abbreviating is out, per client instructions). When I use the entire name, the right margin of the left frame expands to accommodate all the characters The center section is pushed to the right and the right frame goes completely off the screen (I’m also using the right frame for some custom navigation buttons).

    Bascially what I want to do is to contain the width of both frames and the middle section so that things wrap rather than push the right margin out. Any ideas?

    Viewing 3 reply threads
    Author
    Replies
    • #718733

      Right-click within the frame > Frame Properties…
      Under Options, try setting Show Scrollbars to Never and de-selecting Resizable in browser….

      • #718770

        Leif,
        Thanks for the prompt reply. Following your advice, I discovered that I’m not using frames after all, only shared borders. Didn’t get the Frames Properties when right clicking and Frames on toolbar is grayed. This all raises a couple of questions, putting aside my ignorance for the moment, can I “lock in” the shared border, is there an advantage to switching to frames, and if so, how would I do it? Also, I’m deep into this project and trying to wrap it up. I don’t want to risk any major changes unless there’s a really good reason to do so.

        • #718844

          To be honest I’ve never used shared borders so can’t help with anything constructive!
          Frames are pretty straightforward to create, but I am not sure if there is an easy way to convert. Can you give us an idea of the scale of the project? – this might help a more knowledgeable sort give you some worthwhile advice!

          • #719087

            I’m very fond of shared borders – but you’ve hit on one of their biggest weakness and that is the inability to control their width. The width of the border is driven by the content inside.
            Note: it is a very bad idea to try and combine borders and frames.
            One thing I’ve been wondering about recently, is if one could use CSS to control the border width. I’ve not experimented tho’

            Sorry to be the bearer of bad news…

            • #719114

              Could you put a table of a fixed width in the Shared Border to try to control it? I realize tables of a fixed width can create other problems, but…

            • #719115

              Could you put a table of a fixed width in the Shared Border to try to control it? I realize tables of a fixed width can create other problems, but…

          • #719088

            I’m very fond of shared borders – but you’ve hit on one of their biggest weakness and that is the inability to control their width. The width of the border is driven by the content inside.
            Note: it is a very bad idea to try and combine borders and frames.
            One thing I’ve been wondering about recently, is if one could use CSS to control the border width. I’ve not experimented tho’

            Sorry to be the bearer of bad news…

        • #718845

          To be honest I’ve never used shared borders so can’t help with anything constructive!
          Frames are pretty straightforward to create, but I am not sure if there is an easy way to convert. Can you give us an idea of the scale of the project? – this might help a more knowledgeable sort give you some worthwhile advice!

      • #718771

        Leif,
        Thanks for the prompt reply. Following your advice, I discovered that I’m not using frames after all, only shared borders. Didn’t get the Frames Properties when right clicking and Frames on toolbar is grayed. This all raises a couple of questions, putting aside my ignorance for the moment, can I “lock in” the shared border, is there an advantage to switching to frames, and if so, how would I do it? Also, I’m deep into this project and trying to wrap it up. I don’t want to risk any major changes unless there’s a really good reason to do so.

    • #718734

      Right-click within the frame > Frame Properties…
      Under Options, try setting Show Scrollbars to Never and de-selecting Resizable in browser….

    • #730818

      If you are outputting the text to the shared border using ASP, I have a function that will force the text to wrap based on whatever character length you want. It’s not ‘smart’ in that it will break to a new line in the middle of a word but it should work otherwise.

      • #730927

        We are doing the borders in .asp, but I’ve found a fix of sorts. Inserted a table into each border and entered the links. Not very elegant and I’m still having trouble forcing the border to correct width, but at least the words are wrapping and things are more or less under control. I’d like to give your function a try, though. We’re training on the system next week, so it will have to be the following week. You can email it to me at ken@cotterkimbrough.com or point me to a location to download it.

      • #730928

        We are doing the borders in .asp, but I’ve found a fix of sorts. Inserted a table into each border and entered the links. Not very elegant and I’m still having trouble forcing the border to correct width, but at least the words are wrapping and things are more or less under control. I’d like to give your function a try, though. We’re training on the system next week, so it will have to be the following week. You can email it to me at ken@cotterkimbrough.com or point me to a location to download it.

    • #730819

      If you are outputting the text to the shared border using ASP, I have a function that will force the text to wrap based on whatever character length you want. It’s not ‘smart’ in that it will break to a new line in the middle of a word but it should work otherwise.

    Viewing 3 reply threads
    Reply To: word wrap in frames (FP2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: