Jump to content
Sign in to follow this  
myncv

coding templates

Recommended Posts

what do i need to learn to code a template....I kno html but believe it has somethin to do with css....can someone point me in the right directionmyncv

Share this post


Link to post
Share on other sites

I'm not sure exactly what you are intending to do, but if you want to code a web page, then HTML and CSS together will get you started. The tutorials offered here are a great start.If you are intending to code a page to eventual host - figure out where you will host it. IF that server happens to offer ASP or PHP for free - then I would take the respective tutorials to learn a little more about some basic ways to safe time - specifically writing "include" files.A good template, will have minimal "design" code and mostly "application" or "content" code. To understand what I mean about this point, just visit:http://www.csszengarden.comHope this helped.

Share this post


Link to post
Share on other sites

well, you'll find that there are so many different ways to code a page - so once you become familiar with HTML and CSS you will developer your preferences as everyone else here have.Having said that, and recognizing that you are admittedly new to this, there are two ways to approach this - old school or new school. The old school method would have you build the entire site using tables. The new school would push having it all coded in CSS. IMO, this layout would be just as easy either way - but would be faster using both (but that's coming from my experiences).Anyhow, if you are going to use a scripting language (cold fusion, php, asp) then your page should look something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><cfinclude template="includes/scripts.cfm" /></head><body><cfinclude template="includes/header.cfm" /><cfinclude template="includes/navigation.cfm" /><!--- begin page content below this comment ---><!--- end page content above this comment ---><cfinclude template="includes/footer.cfm" /></body></html>
This is a "template". I typically start with code the entire page in one file. Then, once I am done, I cut each peice/section of code out and save them into seperate files - then "including" them onto any given page. So with this as my template, I open it, Save As, and I am on my way.Obviously the "include" statements would be substituted for what language you use accordingly. And as I mentioned, if your site will be hosted on a server packages that has any of the three scripting languages, then you would be foolish not to create you template similar to this.So, old school or new? Many folks might chime in to suggest that one is easier than the other - and I can only say that CSS design is a little hard to tweak than HTML tables (but that might start a rant):)Let me know if this helps.

Share this post


Link to post
Share on other sites

im lost :) the first thing <html xmlns="http://www.w3.org/1999/xhtml"> what do i put in the quotes....i dont kno wat xmlns means<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><cfinclude template="includes/scripts.cfm" /></head><body><cfinclude template="includes/header.cfm" /><cfinclude template="includes/navigation.cfm" /> the <cfinclude template="(do i have to cut my header and nav ect and save them as differant files for this to work.)

Share this post


Link to post
Share on other sites

what language are you programming in - cold fusion, php, or asp? If you are only using HTML, then find out if your server (where you will host your website) has IIS installed - if so, then we can take advantage of the ASP include method.Let me this, and we can take it from there.

Share this post


Link to post
Share on other sites
what language are you programming in - cold fusion, php, or asp?  If you are only using HTML, then find out if your server (where you will host your website) has IIS installed - if so, then we can take advantage of the ASP include method.Let me this, and we can take it from there.

m8 thx for your time but i think im nt rdy for templates yet....but how does this lookfusionsig14wm.gifplz rate me 1-10

Share this post


Link to post
Share on other sites

no problem - let me know whenever you'd like to jump back in.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...