Results 1 to 1 of 1

Thread: logo image not shown: PHP include relative root path?

  1. #1
    Join Date
    Aug 2004
    Posts
    34

    logo image not shown: PHP include relative root path?

    Hello Everyone:

    I am trying to use php include function to include header and footer (both are php files) on my home page .

    For some reason the image in header file did not shown on the home page.
    I think the problem maybe caused by the file structure. Please see the image below for the file structure for this project.

    file structure image

    in hompage_layout.php file I called header.php file in includes folder.

    I included logo image in global.css file as follows:
    PHP Code:
      div#hdr_logoimg
     
    {
       
    positionrelative;
       
    backgroundurl(../images/home_page_logo1.jpg);
       
    width650px;
       
    height108px
     } 
    I could not figure out what the problem is. Please help me to trouble shoot the issue. I appreciate your help.

    P.S. reference for correct display

    web88js
    10/4/07
    Last edited by web88js; 04 Oct 2007 at 06:43 PM.

Similar Threads

  1. How can i get a url from a php include file?
    By swiftmed in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 22 Dec 2006, 10:45 AM
  2. Resizing an image through PHP
    By 0_o in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 16 Apr 2006, 05:26 PM
  3. PHP Include: If file not found, can i direct to a default file?
    By ukcoolat in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 04 Nov 2005, 09:47 AM

Posting Permissions

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