HEPL HELP!!!!!1HTML Header Footer

Discussion in 'HTML & Website Design' started by brad12, Oct 21, 2010.

  1. #1
    Actually I wanna help from u all I am designing on website, it is under construction I have problem about header and footer, cause I am not able to call the header and footer from cgi bin, my header footer is in cgi bin, have any suggestion .
     
    brad12, Oct 21, 2010 IP
  2. xenobiologist

    xenobiologist Active Member

    Messages:
    165
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #2
    How are you creating the these elements? PHP? or something else? Also a link to the site would go a long way into diagnosing the problem.
     
    xenobiologist, Oct 21, 2010 IP
  3. brad12

    brad12 Peon

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    brad12, Oct 21, 2010 IP
  4. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #4
    You can't include using html only, you've to use php.
     
    YIAM, Oct 22, 2010 IP
  5. andolasoft

    andolasoft Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    including the header and footer is only possible if you are using a programming language like php. in html, it can be either done through css or written in the html file.
     
    andolasoft, Oct 22, 2010 IP
  6. Isuru

    Isuru Active Member

    Messages:
    363
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    68
    #6
    index.php or anything.php for other pages on your site
    <? include("header.html"); ?>
    
    This is the content of a page on my site.
    
    <? include("footer.html"); ?>
    
    Code (markup):
    Here is the basic example..
    http://php.about.com/od/tutorials/ht/template_site.htm
    Code (markup):
     
    Isuru, Oct 22, 2010 IP