We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19132
    • 199 Posts
    I have a really weird problem in 1.0.4:

    My containers are fine: they display as intended. The children docs do not. They use the same template but display as unstyled altogether.

    I reverted back to another template for my site and now everything displays as unstyled.

    So I reverted back to the new style and same thing: all of it displays unstyled.

    WHat do I do? If I check the dbase via phpmyadmin, what would I look for?
      MySQL: 5.0.45
      PHP: 5.2.6
      Linux 2.6.9-023stab048.6-enterprise #1
      cURL enabled
      PDO enabled
      FFox Apple 3.6.8
      Firebug DIS-abled
      • 7455
      • 2,204 Posts
      I think that you need a / in-frond of your css path in the head.
      else the css looks relative to the document you are at, when friendly urls are on and friendly path are on than that is most of the time the problem

      if it say’s
      <link rel="stylesheet" type="text/css" href="style.css" />
      and you are in webroot it works the url will be:
      www.domain.tld/style.css
      but if you are in a child then it wil be like this:
      www.domain.tld/parentdoc/style.css

      but by adding / the browser knows it needs to go back to the webroot and go from there.

      also be sure to add <base> tag in your head (then the / is not needed anymore i think)

      Dimmy
        follow me on twitter: @dimmy01
        • 19132
        • 199 Posts
        I added the base tag to my head. That solved the problem.

        Thanks Dimmy!
          MySQL: 5.0.45
          PHP: 5.2.6
          Linux 2.6.9-023stab048.6-enterprise #1
          cURL enabled
          PDO enabled
          FFox Apple 3.6.8
          Firebug DIS-abled