Results 1 to 8 of 8
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Atlanta, Georgia
    Posts
    136
    Thanks
    0
    Thanked 0 Times in 0 Posts

    word wrap in frames (FP2002)

    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?

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: word wrap in frames (FP2002)

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

  3. #3
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Atlanta, Georgia
    Posts
    136
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: word wrap in frames (FP2002)

    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.

  4. #4
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: word wrap in frames (FP2002)

    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!

  5. #5
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: word wrap in frames (FP2002)

    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...
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: word wrap in frames (FP2002)

    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...

  7. #7
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: word wrap in frames (FP2002)

    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.

  8. #8
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Atlanta, Georgia
    Posts
    136
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: word wrap in frames (FP2002)

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •