Back Home

Open Designs

Community. Driven.

  1.  
    I am making a web site using PHP codes that load pages using URL variables and include function and it works.

    My problem is that I wanted to apply a separate CSS file on each every include files, I created a folder for CSS files and folder for include files inside my web site root folder. If I linked the CSS for include files it works in the design view of Dreamweaver but when I run it on the browser it didn't apply the style.

    I really couldn't figured out why... WHY? Helpcry
    •  
      CommentAuthorbakercad
    • CommentTimeMay 6th 2008
     
    are you sure you're using the right path? Can you give a link so we can view what's going on?
    •  
      CommentAuthorgnome
    • CommentTimeMay 6th 2008
     
    Note that once something is on the web uPPeRCaSe letters probably matter.
    •  
      CommentAuthorbakercad
    • CommentTimeMay 6th 2008 edited by bakercad on the 06th May 2008 at 18:43:25 EDT
     
    also, if you included something with php, make sure that you're php start tag is <?php instead of just <? as some servers are not configured for just <?
    • CommentAuthorfernbap
    • CommentTimeMay 13th 2008
     
    It has probably to do with paths. Remember, if you include a file, the file is added to the php script, so its path is the path of the php script, not the path where the original included file was
    •  
      CommentAuthorgnome
    • CommentTimeMay 13th 2008
     
    Anyhow, the poor confused guy seems to have posted and run...