Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is this correct...?

Discussion in 'Website Design Forum:' started by YesYouMay, Jan 20, 2010.

  1. YesYouMay

    YesYouMay Junior Member

    CSS tells you how the created buttons,bars,footer must look.
    Templates tells you how those created buttons,bars,footer must be positioned on a page.
  2. TomStutt

    TomStutt Senior Member

    CSS tells you how to position them
  3. mike_watts

    mike_watts Member

    Huh? Who said this
  4. YesYouMay

    YesYouMay Junior Member

    What do templates do?
  5. TomStutt

    TomStutt Senior Member

    When you say templates do you mean like the background etc so its the same on every page
  6. YesYouMay

    YesYouMay Junior Member

    Not sure what the difference between the two are. In my software I 'm given themes which have their own individual css style sheets that determine the colour of the menu bar, buttons and I can upload, switch them whenever.
    In my admin I have a templates section, with css coding to edit the homepage layout.

    Lol, what's the difference between CSS and Templates?
  7. Levi

    Levi Moderator Staff Member

    my understanding
    css - deals with layer backgrounds, positions, fonts, hover's, anything that you would define a class/id to etc

    templates - a default page which all others are based off and can then adjusted if needed (ie add extra images) without having to go through every page.

    Note css can also do the some of the same things as a template depending on how pages are setup :)
  8. Ant

    Ant Member

    Templates -> designed in whatever, ps, fw whatever. Coded up together USING CSS, then assigned to each page using a CMS.
  9. Aarlev

    Aarlev Member can't code a site with CSS. CSS is just the presentation. The markup and page structure is done with HTML/XHTML.

    So basically you design your site in your preferred software, then you create your markup and page structure with XHTML and then you use CSS to style it (position the different elements, colours, fonts etc.).

    If you're using Wordpress I.E (I don't know if that's what you're using YesYouMay?), the templates are .PHP files containg the XHTML. So that you can chop up the different bits of your pages to be repeated. For example you could have header, footer, content, and sidebar. They are the templates. In Wordpress you can create a new content template containing your content area and sidebar for example if you want a particular page to have a different layout. Then you can assign a specific page to use that template.

    All this together will make a theme. So you can create your own from scratch or use an existing theme like you're doing. So a theme is just templates with XHTML and PHP and then the CSS takes care of the presentation.

    Hope that makes sense!
  10. Ant

    Ant Member

    Alrightttt smarty pants. I guess my wording was off. I knew what i meant though.
  11. Aarlev

    Aarlev Member

    Sorry Ant, I didn't mean it to come across like a smart arse comment. My apologies if it sounded like that. :)
  12. Ant

    Ant Member

    Ahh, no, no worries mate. Was just making a little joke out'a it :D

Share This Page