5 replies [Last post]
the queen is dead
Offline
Regular
Last seen: 16 years 7 weeks ago
Joined: 2004-08-05
Posts: 12
Points: 0

okay, i've just started teaching myself css. I'm obsessed with it, and i want to redo my entire site with no tables / frames.

i have a decent grasp on setting properties with css, as far as text, background, border, etc.

however i am horribly stuck on working with layers and <div> tags. i'm just clueless as to how it all works. I'm using dreamweaver mx (not 2004 though).

i can make layers, navbars, etc... basically i can visually lay everything out how i would like it... but i'm so stuck on getting anything to actually work.

everytime i create a link, or navbar- i can't get the links to open in anything but a new window or the same window.

what i'm trying to do is have different pages open into a main section, so i'll have one <div> with a header image and a navbar, then two more, one with text that will stay the same, and one that will load the pages from the links.

if i were using frames i could achieve this no problem. but i really want to move away from frames, i've read through about 600 tutorials and i don't know if i'm missing something simple or what.

any help is much appreciated and may help me retain my sanity.

thanks!

-matt

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 1 year 50 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

i'm new to this... help with layout???

the queen is dead
Offline
Regular
Last seen: 16 years 7 weeks ago
Joined: 2004-08-05
Posts: 12
Points: 0

i'm new to this... help with layout???

thanks...

is there actually a tutorial there, or just an example of what you can do? i couldn't find it if there was.

-matt

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

i'm new to this... help with layout???

Hi the queen is dead,
They are examples that you can learn from by viewing the source.

Hope that helps

the queen is dead
Offline
Regular
Last seen: 16 years 7 weeks ago
Joined: 2004-08-05
Posts: 12
Points: 0

i'm new to this... help with layout???

thank you to everyone for your help, links and suggestions.

i guess a more appropriate question is: can i link external .html documents to navbar buttons and have them open in a main content <div>
or do i need to include all the pages on hidden layers? that seems like it would be quite a large file to load.

i'm doing a page for my band. i want to have all seperate .html documents for news, tour dates, etc.

i just can't figure out how to make the links open where i want them... they always go to a new window or the same window that the interface is in.

ughhhhh! i haven't felt this stupid since i tried to learn flash.

thanks again.
-matt

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

i'm new to this... help with layout???

Hi the queen is dead,
What I would do is have the menu stored in a separate file and use PHP to include it where ever you want.
All you need to do is rename the main page from : index.html to index.php and inside that where you want the menu use:<?php include_once("menu.php"); ?> Your menu file can just be the html that you used for the menu.

If your host doesn't support php then try something else like SSI.

Hope that helps