How to make global Div

Discussion in 'HTML & Website Design' started by irule272, May 15, 2009.

  1. #1
    Hello! I just want to ask how will I able to make a global Div? I need this because I want to put there my stat counter code so that I will not add the code everytime I will create a page.


    thanks in advance!
     
    irule272, May 15, 2009 IP
  2. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello.

    Is it possible to know what development tools are you using? For example, what is your HTML editor?

    Cheers.
     
    TechnoGeek, May 15, 2009 IP
  3. irule272

    irule272 Well-Known Member

    Messages:
    1,153
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    155
    #3
    TechnoGeek I'm using dreamweaver, sorry I'm jus a begginner.

    I have this in my mind. That maybe I can do it by using frame. What do you think?
     
    irule272, May 15, 2009 IP
  4. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #4
    Are your pages .html, .php?

    If php you could create a seperate footer file, have your statcounter code in it, include footer.php into each page.
     
    pipes, May 18, 2009 IP