makin a website.. need help
hello. i need to make a website, but would like some assistance
1) i have a layout in photoshop that i'm going to need to make in html or whatever
2) there are going to be a bunch of pages
3) how can i have those pages call the layout format, that way if i were to change something on the layout, i wouldnt have to go on each and every page
k., thanks in advance
1) i have a layout in photoshop that i'm going to need to make in html or whatever
2) there are going to be a bunch of pages
3) how can i have those pages call the layout format, that way if i were to change something on the layout, i wouldnt have to go on each and every page
k., thanks in advance
Originally Posted by janiVI
use css?
there should be zero or minimal "layout" in the HTML itself. so no colors, spacing, etc. leave that all to the CSS. everything that might need to be moved, sized or styled differently can be placed inside a <div></div> or a <span></span>. each HTML element can be given a class and an id. an id has to be unique throughout the entire document, but a class can be reused in different objects. you can then use CSS to apply styling to each individual object by ID, or to a class of objects by class. does that make sense?
this site has a decent tutorial section. there are plenty of other CSS tutorials if you look for them.
http://www.w3schools.com/css/
is it possible to have a menu within the header... im familiar w/stylesheets, just dont know how to begin w/creating a header (separate from the page) so that i can edit the header/menu without having to change each and every page. if that makes sense.. if i wanted to add a link, i would only edit one page
blah, i could use
but i realized the layout's going to have a column as well. so i would have to have one layout..
i cant find any resource that shows an external css layout/format ..
Code:
<? include("header.php")?>
i cant find any resource that shows an external css layout/format ..
Originally Posted by sinthetiq
blah, i could use
but i realized the layout's going to have a column as well. so i would have to have one layout..
i cant find any resource that shows an external css layout/format ..
Code:
<? include("header.php")?>
i cant find any resource that shows an external css layout/format ..
Originally Posted by mayonaise
that piece of code is PHP, which is a server side scripting language. if you can use php, that would be a good solution to your problem. you could still have "a column" as a separate file, depending on what you need to do with it.
thanks



h: