//flex table opened by JP

Click to See Complete Forum and Search --> : CSS question?


frznoasys
08-11-2007, 03:04 PM
Alright, real simple question for you guys. I've been atempting to learn CSS, I've got a few things up on the page, but its in need of a lot more work yet.

My question is how do you code the links the navigation column to come up in your main contents column in the middle?

I know there has to be a way to do it with CSS and HTML without using frames--I hate frames.

I have a 2 column layout with a header and footer. I've decided to start out real simple.

Chad

delRhode
08-11-2007, 03:51 PM
As with many things, there's more than one way to skin the proverbial cat. My preferred method (assuming you're using PHP or some other server-side scripting software to generate your pages) is to have content like your nav column squirreled away in a separate file and "include" it in each page I want it to show up in.

Without some sort of server-side component in play, I *think* you may be limited to using frames... but I could always be wrong.

Train
08-11-2007, 03:59 PM
css tutorial I am studying.
http://www.w3schools.com/css/css_intro.asp

If you find a website you like, then go view and select source.
By the way you will find the .css and other items for that page in your TIF.

Analyze what they use, maybe you can find something to help you out.

Train
08-11-2007, 04:56 PM
If you do not want a frame down the left side for navigation, then look into imagemapping which is a way to place the links on a graphic at the top or where you want to place it on your webpage.

Takes quite some time to do it though.

frznoasys
08-11-2007, 05:31 PM
Here is the site that I'm currently toying around with. Obviously its a little bland right now, because I'm still in the process of getting the logo put up as well as thinking about implementing a fancy css navigation system.

I did see one guy go the PHP route, and really and truely, I'd love to just go ahead and start learning some of that as well. The more I have under my belt the better. So, perhaps I'll look into that.

Here is my site: www.surveygeyser.com

and here is what I want my site to do: http://adsense4money.com/AdSense/Tools/

As you'll note all the links direct right to the main contents of the page in the center after being clicked. This is exactly the way I want my site.

So, if any of you have a decent tutorial on that PHP thing, I'd love to have it.

Thanks so much for the quick responses, this really is a great forum!

Chad

Train
08-11-2007, 06:31 PM
May I suggest keeping your Directory on all pages.

That way it will act more like the one you like.

Might try adding a <center> after <body> and a </center> before </body> and see if that works close enough for you instead of adding the Directory. But some of us prefer a directory on each page.

frznoasys
08-12-2007, 02:06 AM
I enjoy when sites have it set up like that as well. I suppose what I could do is just implement the index.html code into every page so to speak, and import the css file. I haven't separated the two yet because I was trying to just throw something up there fast, but now I want to go back and clean things up.

I'll keep you guys updated on the progress, and keep the ideas coming I'm up for anything new that I can learn.--thanks!

Chad