Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    amc
    amc is offline
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    framesets or DW templates

    some years ago I heard that framesets were to be avoided in order to do clean-html code
    Now I have a site with 10 small pages, and some sections (footer, menubar, title,...) is repeated again and again.

    What is the proper way to save time and typing and, nevertheless, stick to clean-html-CSS? Framesets? Dreamweaver templates (which I don't like)?

    thanks

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello amc,
    I never liked DW templates either, and you're right to avoid frames.

    I use PHP includes for things like menus that stay constant over a number of different pages.
    Have a look at a basic tutorial here. Very quick and simple to implement.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    amc
    amc is offline
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts
    thanks. i see that PHP is a server side language. My provider doesn't support this for my current contract.

    Perhaps I might develop it locally, and generate the final html out of the php components, and then upload the final html . Is it feasible?


  •  

    Posting Permissions

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