SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: HTML problem

  1. #1
    Senior Webdesigner koolbrian's Avatar
    Join Date
    Dec 2000
    Location
    Mauritius
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey,
    i have a problem with html. When i sign up for some stuff for my site, like a search engine or a subportal content, they tell me to put my header and foot html seperate. What's that ?? . In my site (sorry i can't give the url cause it's not publish yet), there's a right menu where there is sign up for mailing list or sign up for a personal free email or a poll,......... Where is it in , footer, or header ??. What's the relationship ??



    Brian

    ps :.........please reply!
    BrianStudio - the webdesign company
    Professional & Affordable
    Brian Dove - Senior Graphic Designer
    Direct Hire: info@brianstudio.com

  2. #2
    Gong!
    Join Date
    May 2000
    Location
    Helsinki, Finland
    Posts
    229
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's simple, let's take an example:

    Code:
    <!-- header start -->
    <HTML>
    <HEAD>
    <TITLE>Something</TITLE>
    </HEAD>
    <BODY>
    
    This is the header. You can have for example menu here. 
    
    <!-- header end -->
    
    Here's goes the content. 
    
    <!-- footer start -->
    
    This is the footer.
    
    </BODY>
    </HTML>
    
    <!-- footer end -->

  3. #3
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't worry.
    Its just something you will understand in the near future. or now. =)


    If you use tbales to format your page design, headers/footers still work very well.

    you go to the first line of the html page.
    cut all the codes until you read to the text where your main page contents are listed ( this doesn't include your navigational menu )
    that also menas that the only part of the site design which isn't the same throughout your design. your actual page contents =)

    paste that code into your header file.
    next for your footer file, from the point where your actual page contents ends, cut from that point, till the end of the file and paste them into the footer.

    now, depending on whether you are using SSI or PHP etc. to input your header/footers, you have to add the specific code.

    and poof. you already have a header/footer content management system.
    the advantages are endless, and i'm sure you do know them alreayd, since you're going into this part of web site development.
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


Bookmarks

Posting Permissions

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