SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Evangelist Alexandra's Avatar
    Join Date
    Aug 2002
    Location
    Perth, Australia
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry I Hate Framesets!!!

    I have been "forced" to create a web site using framesets (against my better judgement) and they are proving to be their annoying little selves.

    The problem I have is that the content frame displays horizontal scrollbars for no apparent reason.

    Does anybody know how to get around this?

    The site in question is http://www.tobycreative.com.au/tempo...hoff/index.htm

    It happens on all the internal content pages (not the home page).

    Any assistance in this matter would be greatly appreciated. It's kinda urgent....
    Alex Graham
    Cadmium Design & Development
    www.cadmium.com.au
    alexandra@cadmium.com.au

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello

    You could try to place the content that has the scrollbar you don't want in a table and set it's width to 100%, I believe that will work. If not try changing the % of the table till you see no scrollbar
    That is what I did whan I had the same problem, but it has been awhile since I last messed with frames.

    Hope this helps
    Johnny

  3. #3
    SitePoint Enthusiast hutchysk8er's Avatar
    Join Date
    Apr 2003
    Location
    Scotland
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    always found the width=100% caused this, change it to 90%+it should be fine.
    Hutchy

  4. #4
    SitePoint Wizard silver trophy Crazybanana's Avatar
    Join Date
    Mar 2003
    Location
    In tha fruit cellar
    Posts
    1,379
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    if you dont need scrollbars set it to scrolling="NO" or do as hutchysk8er said
    Who's to doom when the judge himself is dragged before the bar


  5. #5
    SitePoint Evangelist Alexandra's Avatar
    Join Date
    Aug 2002
    Location
    Perth, Australia
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tried this table option but using divs and found it doesn't work at all...Unfortunately the area does need to scroll as it contains content...
    Alex Graham
    Cadmium Design & Development
    www.cadmium.com.au
    alexandra@cadmium.com.au

  6. #6
    SitePoint Evangelist Alexandra's Avatar
    Join Date
    Aug 2002
    Location
    Perth, Australia
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just tried it with a table on www.tobycreative.com.au/temporary/holbornlenhoff/profile.htm and the problem is still there....even if I set the table width to 50%, the horizontal scrollbar remains. I have set scrolling to "auto" so I don't know why this is happening. I can't see anything else on the page that could be causing it.

    I really need to get this sorted soon....damn IE! Did I mention it only happens in IE?

    PLEASE HELP!
    Alex Graham
    Cadmium Design & Development
    www.cadmium.com.au
    alexandra@cadmium.com.au

  7. #7
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello

    Ok I tried to place it in a table and set the % to 100 and it seems to work, here is an example:

    http://www.metalprovider.com/nwb/table.htm

    Obviously you dont want the table to be seen but I left it visible so you can see it.Try changing the size of your browser and it will adjust with it, so that should work in a frameset also, that is the only solution I can come up with.

    Hope it helps
    Later
    Johnny

  8. #8
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Though I did not do a very good job of aligning the text

  9. #9
    SitePoint Evangelist Alexandra's Avatar
    Join Date
    Aug 2002
    Location
    Perth, Australia
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I said in the last message that I have already tried this. The scrollbars only appear when the page is included in the frameset.

    Again, I have set the table width to 100% and the scrollbars still appear.

    This is a really annoying IE only problem. It isn't just a basic issue, there is something causing the browser to behave strangely.

    Does anybody know if XHTML has issues with frames?
    Alex Graham
    Cadmium Design & Development
    www.cadmium.com.au
    alexandra@cadmium.com.au

  10. #10
    SitePoint Evangelist Alexandra's Avatar
    Join Date
    Aug 2002
    Location
    Perth, Australia
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes I have solved the problem!

    It was the XHTML 1.0 doctype that was causing Internet Explorer to display a horizontal scrollbar whether it was necessary or not.

    So for anybody who may come across this problem in the future, DON'T USE XHTML WITH FRAMESETS.

    Thanks to everybody who offered their assistance.
    Alex Graham
    Cadmium Design & Development
    www.cadmium.com.au
    alexandra@cadmium.com.au

  11. #11
    SitePoint Addict lundberg's Avatar
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Woho! this helped me! Thanks Alexandra!

    Martin Lundberg
    Sweden

  12. #12
    SitePoint Member
    Join Date
    Mar 2003
    Location
    Sweden
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Try changing DOCTYPE

    Hi!

    I had the same problem with a site. A co-worker fixed by changing the DOCTYPE, or actually removing the DOCTYPE line. This seems to change what mode the browser rendering engine works in.

    Regards, Johan


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
  •