...

View Full Version : Fixed positioning



leeinvank
12-01-2005, 10:07 PM
I'm trying to build a website. I've used tables to have a header type thing across the top, navigation bar down the left side, and then a content area to the right of the navigation area and below the header table. The header type thing is in one table, and the navigation/content areas are another table. I am trying to use the CSS position property to make the navigation area stay in the same spot when you move around in the content area. I started with position: fixed; and no matter what else I do with it (I've tried playing with left:, right:, etc.) or add to it, the two areas below the header table overlap... the content area moves over to the left and you can only see about half of it because it's covered by the navigation area. I have been playing around with it a lot and am so frustrated, I can't figure it out at all. Yes I am a novice at this. Please help!

mark87
12-01-2005, 10:35 PM
Why use tables? CSS should be used for layout now. :)

Post a link or some code so we can help you better.

leeinvank
12-01-2005, 11:43 PM
Here's the URL: http://hvac4all.com/

I am really new to all of this, I don't know CSS well enough to use it for layout instead of tables, I'd have no idea where to start and how to do it. What I want is to be able to move around that content area without the navigation area moving with it; when I add the "fixed" deal, it's fixed alright, but the content area ends up underneath.

danoz
12-02-2005, 01:47 AM
This is where the power of Dreamweaver MX comes in handy. You really dont need to know css because dreamweaver would do the css for you. You really dont need fixed positioning u can use absolute positioning on it and make it visible it will stay there for u. If you want give me full detail on what you are trying to accomplish and I will see what I can do



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum