Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

makin a website.. need help

Thread Tools
 
Old Oct 12, 2005 | 02:13 PM
  #1  
sinthetiq's Avatar
sinthetiq
Thread Starter
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default 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
Reply
Old Oct 12, 2005 | 02:14 PM
  #2  
Misa's Avatar
Misa
Pic Whore
 
Joined: Jul 2004
Posts: 22,224
Likes: 1
From: NJ
Default

use css?
Reply
Old Oct 12, 2005 | 02:15 PM
  #3  
sinthetiq's Avatar
sinthetiq
Thread Starter
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default

examples/tutorials would be helpful
Reply
Old Oct 12, 2005 | 02:27 PM
  #4  
k3ifers's Avatar
k3ifers
k three ifers
 
Joined: Jun 2002
Posts: 42,568
Likes: 4
From: Buffalo, NY
Default

no idea.. i go and change it on every page h:

but yeh, you have to use style sheets or somethin like that.. css sounds about right
Reply
Old Oct 12, 2005 | 02:34 PM
  #5  
sinthetiq's Avatar
sinthetiq
Thread Starter
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default

i know how to use css/stylesheets to edit the fonts/colors/etc.. but how can i use css to arrange a format/layout
Reply
Old Oct 12, 2005 | 02:50 PM
  #6  
mayonaise's Avatar
mayonaise
Senior Member
 
Joined: Aug 2002
Posts: 3,181
Likes: 0
From: CA
Default

Originally Posted by janiVI
use css?
yup. CSS is your best bet, and it's really useful. it's a little tricky at first, though.

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/
Reply
Old Oct 12, 2005 | 02:57 PM
  #7  
sinthetiq's Avatar
sinthetiq
Thread Starter
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default

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
Reply
Old Oct 12, 2005 | 03:13 PM
  #8  
sinthetiq's Avatar
sinthetiq
Thread Starter
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default

blah, i could use

Code:
<? include("header.php")?>
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 ..
Reply
Old Oct 12, 2005 | 03:42 PM
  #9  
mayonaise's Avatar
mayonaise
Senior Member
 
Joined: Aug 2002
Posts: 3,181
Likes: 0
From: CA
Default

Originally Posted by sinthetiq
blah, i could use

Code:
<? include("header.php")?>
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 ..
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.
Reply
Old Oct 12, 2005 | 03:53 PM
  #10  
sinthetiq's Avatar
sinthetiq
Thread Starter
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default

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.
yah, i ended up jus using 3 separate includes thanks
Reply




All times are GMT -8. The time now is 08:51 PM.