Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2007, 07:32 AM
Registered User
 
Join Date: Jul 2007
Location: , , United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nav bars

Hello all

This...www.surbitonhealing.co.uk is my first attempt at a web site..i have completed a couple of weekend courses in Dreamweaver but still need quite a bit of practice:)The problem im having is that the navigation bar on some of the pages changes position after i have added content,i cant seem to make it stay in the same position as the Home page one...i did not use templates to make it as im still a bit unsure about them..i merely duplicated the main page several times.How do i make the bar stay in the same position regardless of how much content i add to that page?

Brgds

Volsha

Reply With Quote
  #2 (permalink)  
Old October 23rd, 2007, 12:33 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Hi Volsha,

Yeah, your navigation is sensitive to the content, because Dreamweaver makes such extensive use of layout tables. Tables can apply a great deal of uniformity and a nice clean look, but this is a typical problem.

Your header is much more stable, again a typical feature for a table-based webpage. For this project, my recommendation would be to use a horizontal navbar as part of your header. That will give you much better control, and a much more uniform look to your webpage.

That said, there's no reason you can't make it stay where you want using CSS. However, it looks like this site is basically built. Redoing it with CSS would mean starting from scratch, so I'd recommend going with a more standards based layout. Dreamweaver has an excellent code view processor. It autocompletes a lot of things for you and you can configure it to autoclose tags. Really handy. But that's not something you learn in many Dreamweaver classes, since so many of them are about using all the fancy panels and drag and drop stuff in Design view. They seem easier, but you run into exactly the kind of problem you're having and there's no great fix for it. Design view just doesn't give you very good control.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Reply With Quote
  #3 (permalink)  
Old October 25th, 2007, 05:17 AM
Registered User
 
Join Date: Jul 2007
Location: , , United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok thanks for the advice:)

Reply With Quote
  #4 (permalink)  
Old October 30th, 2007, 02:02 AM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

that's what we're here for :)

When you get a chance to do your next site, CSS should let you use a vertical navbar and pin it exactly where you want it on each page. But for this one, changing to to a horizontal navbar will just fit in more gracefully (ie less work :D) with what you've already built. The alternative is to get a little creative with this design, but that may require some CSS and more work. But I could try to help you through it.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nav buttons for database krisfr Beginning PHP 1 June 18th, 2007 05:25 PM
DIV nav problem socoolbrewster CSS Cascading Style Sheets 1 June 3rd, 2006 05:09 PM
Nav Bar Styling VictorVictor BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 May 16th, 2006 06:02 PM
nav - how to show what page you are on cat CSS Cascading Style Sheets 2 November 4th, 2004 09:00 PM
nav bar problems Morrislgn Javascript How-To 1 June 3rd, 2004 07:45 PM



All times are GMT -4. The time now is 11:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.