Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-01-2005, 10:07 PM   PM User | #1
leeinvank
New to the CF scene

 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
leeinvank is an unknown quantity at this point
Fixed positioning

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!
leeinvank is offline   Reply With Quote
Old 12-01-2005, 10:35 PM   PM User | #2
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Why use tables? CSS should be used for layout now.

Post a link or some code so we can help you better.
__________________
markaylward.co.uk
mark87 is offline   Reply With Quote
Old 12-01-2005, 11:43 PM   PM User | #3
leeinvank
New to the CF scene

 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
leeinvank is an unknown quantity at this point
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.
leeinvank is offline   Reply With Quote
Old 12-02-2005, 01:47 AM   PM User | #4
danoz
New to the CF scene

 
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
danoz is an unknown quantity at this point
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
danoz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:05 AM.


Advertisement
Log in to turn off these ads.