SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    May 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Number of stylesheets limited to 30?

    Hi,
    I'm working on a site design that requires the use of *many* stylsheets, upwards to more than 30 stylesheets.

    It seems that there is a limit to the number of stylsheets that can be used and 30 seems to be the limit.

    I'm using javascript to let the user pick his/her style (with a cookie to store the selection), which is applied immediately.

    Does anyone have any ideas as to how (or if) I can get around this?

    Example at http://www.goaliegirl.com/test. Notice that the last two do not work. I've tried commenting out the first 30, then the last two work. I've commented out a random two, and the rest will work, but if they're all there, the last two, after the 30 mark, work.

    Any help would be greatly appreciated.

    Thanks in advance,
    Angela

    Note: It's a work in progress, the images are not sized yet.
    This is not a signature.

  2. #2
    SitePoint Zealot 19nine78's Avatar
    Join Date
    Feb 2002
    Location
    Ayr, scotland
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    they all seem to work fine in mozilla RC2 on windows 2000, but not on IE6.

    Sorry, no idea why but I'd guess IE's the problem

    cheers

    alastair

  3. #3
    SitePoint Member
    Join Date
    May 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for taking a look. Apparently it *is* something to do with IE6.

    My host doesn't support PHP, which is why I was looking for a skin solution that is non-PHP. *sigh*

    Anyway, thanks for the help. Maybe I'll have to see what I can do about getting PHP, or just limit myself to 30 skins. Hehe.

    ~Angela
    This is not a signature.

  4. #4
    Non-Member Forlorn's Avatar
    Join Date
    Mar 2002
    Location
    San Diego, California
    Posts
    1,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats weird. I have IE 6 on my PC and I have done something like what you have done and I did like 50 stylesheets. It worked fine for me.

  5. #5
    SitePoint Member
    Join Date
    May 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forlorn: Can you tell me how you did it? Or show me the code?
    This is not a signature.

  6. #6
    SitePoint Member
    Join Date
    May 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, it's me again!

    I just wanted to let you know that I figured out a way around the problem...I'm just using a different technique.

    I'm using different javascript, with the help of a cookie and a dropdown menu. It works in IE6, not sure about other browsers, but they should be ok too.

    http://www.goaliegirl.com/test works now.

    I found part of my solution at http://www.milov.nl/forum/1/8

    I still need to work out the stylesheet that's loaded first, but if you pick one, they all work now.

    Angela
    This is not a signature.


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
  •