Results 1 to 3 of 3

Thread: Style sheets

  1. #1

    Thread Starter
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Angry

    Hi all

    I am having this really confusing problem at the moment and I will be dammed if I can sort it out.

    I have an entire site running off one style sheet that is being used for all my ASP and HTML pages. Within the style sheet I have various different classes to format every thing including the BODY tag which sets up the back ground colour.

    If I view my HTML pages locally they are all displayed correctly. If I run any of my pages (Both ASP and HTML) through the server (Either my main server or PWS), all the classes get reconized For formatting, But My BODY class get totally ignored and doesn't set the bgcolor.

    Has any one else encounted this or knows the solution

    Thanx in Advance

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137
    I've never had that problem but I've had similar ones where my classes have been ignored because of finickity little syntax errors.

    ensure your body class looks something like this

    BODY {
    background-color:#FFFFFF;
    font-family:verdana;
    font-size:8pt;
    }

    etc. etc.

    Regards

    Matt Brown
    Hamilton, NZ
    VB6 C++ in Visual Studio 6sp4
    VB.net Beta 1

  3. #3

    Thread Starter
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Hi Matt

    Cheers for the advice, I know about the finickity little syntax errors And the solution to the problem was weirder than the problem itself. The link to the stylesheet was made in ASP depending on what An Id Parameter was. The id was put in as a folder in the HREF. The problem was that When the id was in uppercase it displayed all the classes apart from the body, but when it was in lower case all the classes where used. If anyone can work out why, they deserve a medal.

    Ian



    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

Posting Permissions

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



Click Here to Expand Forum to Full Width