19 users online (0 members and 19 guests)  


  Results 1 to 3 of 3

Related

  1. How to make text wrap like this?    Forum: HTML Forum
    Replies: 3
  2. word wrap on notepad    Forum: HTML Forum
    Replies: 3
  3. Replies: 2
  4. Replies: 1
  1. #1
    janakava's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    2

    word wrap in a frame

    i can't get the words to wrap in that main frame.
    don't want people to have to use the horizontal scroll bar.
    the url is: www.cookingwithjia.com
    please help.

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: word wrap in a frame

    Ok, first. get rid of the following line:
    Code:
    <SCRIPT>  window.resizeTo(1000,760);  </SCRIPT>
    It will only serve to annoy the people visiting your site (I know I wouldn't go back to your site just because you resize my window regardless of your content), and is extremely poor design.

    As for the horizontal scroll bar, it only shows up in Internet Explorer, and only due to the vertical scroll bar being there. Try changing the following line:
    Code:
    <frameset cols="25%,75%">
    to
    Code:
    <frameset cols="25%,74%">
    That should get rid of the horizontal scroll bar on the right frame.

  3. #3
    janakava's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    2

    Re: word wrap in a frame

    ...thanks for replying.

    ...you're right about getting rid of the resize routine.
    ...i tried the tweak for the frameset but it didn't work.
    ...so i got rid of the frames environment and used an invisible table for the formating.
    ...haven't uploaded yet though.
    ...am thinking i should use frames via css ...since i would prefer the nav panel to be stationary.
    ...as shown here:
    http://www.dynamicdrive.com/style/layouts/item/css-left-and-top-frames-layout/
    ...haven't worked much with css, so this will be a learning experience.

    janaka



Tags for this Thread