Pulling Hair Out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Grunfeld
    Senior Member
    • Mar 2004
    • 209

    Pulling Hair Out

    Looking for help before I go from a full head of hair to none. I am redesigned a site got it all working except for a members only section
    Everything else is working pages all coming up on links pretty basic.
    However two things I can't resolve for the life of me tonight
    When I call the page up for the members section I lose the stylesheet for the page
    It's a path problem of some sort but maybe I need more caffine or something I can't figure it out .
    I suspect I am complicating it for some reason.
    If some one could help it would be greatly appricated.
    The link is www.gsscc.ca

    Cheers,
    Gary
    Cheers,

    Gary
    (This space for rent)
  • james
    Senior Member
    • Mar 2004
    • 183

    #2
    Hi Gary,

    On the members page you will need this instead:
    Code:
    <link rel="stylesheet" type="text/css" href="../includes/style.css" />
    The ../ points to the parent directory (ie the new folder).

    James

    Comment

    • Grunfeld
      Senior Member
      • Mar 2004
      • 209

      #3
      Hi James, well I did that and sort of got there ...can you take a look again

      Cheers,
      Gary
      Cheers,

      Gary
      (This space for rent)

      Comment

      • james
        Senior Member
        • Mar 2004
        • 183

        #4
        Gary,

        It's because in the style.css file you have things like:
        Code:
        background:url(../images/corner1_tr.gif)
        I'd suggest changing all of these so they are relative to the domain's root folder:
        Code:
        background:url(/new/images/corner1_tr.gif)
        etc etc. putting the slash at the start of the url there means that it will look for the images in a directory relative to http://gsscc.ca/ instead of to the current folder.

        Comment

        • Grunfeld
          Senior Member
          • Mar 2004
          • 209

          #5
          Hi James,
          Ok that makes sense as I have redirect in there and was trying to keep old site and build new .... at same time so it;s time to fix things right .... will give it a try .....
          Thank you ..

          Cheers,
          Cheers,

          Gary
          (This space for rent)

          Comment

          Working...